More testing reveals if I just change one Alias and then change the output the program works or doesn't.
ChargerMain var PORTA.6 'Charger Mains Relay Out (OWOUT Works)
low ChargerMain 'This Works
high ChargerMain 'This Works
ChargerMain var LATA.6 'Charger Mains Relay Out (OWOUT Fails if I do either of the next lines)
low ChargerMain 'This Fails
high ChargerMain 'This Fails
If I don't do HIGH or LOW OWOUT works.
It's not even the same PORT or BIT the DS18B20 sensor is connected to PORTC.4
I don't see any PIC internal connection or multiplexing/alternate functions etc between A.6 and C.4![]()





Bookmarks