Re-added test function

This commit is contained in:
n.jayaprakash
2024-05-22 17:20:44 +02:00
parent b6758082eb
commit 5468095a79
32 changed files with 10 additions and 163125 deletions

View File

@ -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,