Sorry, forgot to fix that...I only did that as another debug...original code was
Code:
symbol l9= porta.0
symbol l10= porta.1
symbol l11= porta.2
symbol l12= porta.3
I reallocated to see if it was a problem with ra0 as it was the original playup pin. I have now set it back!! As far as some complimentary others not etc. If you look at the LED setup for the Bargraph hardware some (ie l1, l4, l9 and l12) are standalone LEDs whereas (l2,l3...l5,l6...l7,l8...and l10,l11) are wired in sequence. This means if I want to light LED 1 I send l1 high. If I want to light LED 2 I have to send l2 high and l3 low etc.
Bookmarks