Using TMR1 disables outputs B and C
Posted: Wed Jan 21, 2015 12:21 pm
I've come across a bit of a strange one, took me a while to pinpoint but I'm sure it is something I'm doing wrong.
Basically if I enable transistors B and C and then enable TMR1 both outputs are turned off. Is this a bug or is there a reason for it?
I've attached a file to show this. If you disable the top icon so that the timer is never enabled the outputs work fine. By enabling the timers the problem occurs. After flashing I always power cycle as until you power cycle the problem doesn't always show up. In the above code the macro timer1Test is empty.
Any help is greatly appreciated.
Regards,
Ben
Basically if I enable transistors B and C and then enable TMR1 both outputs are turned off. Is this a bug or is there a reason for it?
I've attached a file to show this. If you disable the top icon so that the timer is never enabled the outputs work fine. By enabling the timers the problem occurs. After flashing I always power cycle as until you power cycle the problem doesn't always show up. In the above code the macro timer1Test is empty.
Any help is greatly appreciated.
Regards,
Ben