Re-added test function
This commit is contained in:
@ -39,13 +39,14 @@ void ChannelControl_UpdateGPIOs(PortExtenderGPIO UpdatePorts) { // ctrl + left c
|
||||
PCA9535_setGPIOPortOutput(PC9535_PORTA, UpdatePorts.porta.porta);
|
||||
PCA9535_setGPIOPortOutput(PC9535_PORTB, UpdatePorts.portb.portb);
|
||||
UpdatePorts.porta.alwayson = 1;
|
||||
// gpio_port_b testb={}; (testing code)
|
||||
//testb.en16=1; (testing code)
|
||||
//PCA9535_setGPIOPortOutput(PC9535_PORTB, testb.portb); (testing code)
|
||||
// gpio_port_a testa={}; (testing code)
|
||||
// testa.en1=1; (testing code)
|
||||
// testa.en13=1; (testing code)
|
||||
// PCA9535_setGPIOPortOutput(PC9535_PORTA, testa.porta); (testing code)
|
||||
gpio_port_b testb={}; //(testing code)
|
||||
testb.en16=1; //(testing code)
|
||||
PCA9535_setGPIOPortOutput(PC9535_PORTB, testb.portb); //(testing code)
|
||||
gpio_port_a testa={}; //(testing code)
|
||||
testa.en1=1; //(testing code)
|
||||
testa.en13=1; // (testing code)
|
||||
|
||||
PCA9535_setGPIOPortOutput(PC9535_PORTA, testa.porta); //(testing code)
|
||||
}
|
||||
|
||||
void ChannelControl_UpdatePWMs(uint8_t radiatorfans,uint8_t tsacfans , uint8_t pwmaggregat,
|
||||
|
||||
Reference in New Issue
Block a user