Hi guys,
This problem has got me stuck. Dont know where to look anymore.
To explain the project, it is interfacing 2 temp sensors with their minimum and maximum settings driving 2 relays. The lot displayed on a 16x2 LCD.
I have 5 buttons:
2 buttons for the first relay temperature (+ or -)
2 buttons for the 2nd relay temperature (+ or -)
1 button to switch the display between 1st and second sensors and relays infos.
To explain, both relays are ON, as temp is lower than the minimum set, PORTC3 and 4 are high (relay1 and 2 outputs pin)
As soon as I press the switch to change the display PORTC1, both relay outputs drops for a brief moment.
This is where I dont understand, because there is nothing in the program telling these 2 outputs to do so at this time.
Hopefully my code makes a bit of sense to you guys. Not the best to arrange things like a pro.
Thanks in advance for any infos.
Cheers!
This problem has got me stuck. Dont know where to look anymore.
To explain the project, it is interfacing 2 temp sensors with their minimum and maximum settings driving 2 relays. The lot displayed on a 16x2 LCD.
I have 5 buttons:
2 buttons for the first relay temperature (+ or -)
2 buttons for the 2nd relay temperature (+ or -)
1 button to switch the display between 1st and second sensors and relays infos.
To explain, both relays are ON, as temp is lower than the minimum set, PORTC3 and 4 are high (relay1 and 2 outputs pin)
As soon as I press the switch to change the display PORTC1, both relay outputs drops for a brief moment.
This is where I dont understand, because there is nothing in the program telling these 2 outputs to do so at this time.
Hopefully my code makes a bit of sense to you guys. Not the best to arrange things like a pro.
Thanks in advance for any infos.
Cheers!