Yup, JP2, that's the one.
Looking at the board with the power jack on the left and the 16F8777A on the bottom, the JP2 jumper has the top two pins tied together. The LED bargraph has the writing towards me. That would seem to be the pick-pin-HIGH-LED-On scenario described above, so I don't get why the LEDs which aren't referenced are on. <Sigh>
Dumb question, did you assign initial values to the pins, ADC, CONFIGs, etc?
Not a dumb question, Robert - I did not. Think I should add 'PORTD =0'?
I'd use the variables.
Why the renaming?
led1 var PORTD.1
led2 var PORTD.2
led7 var PORTD.7
ERROR_LED VAR led7 ' rename the LED's
LATE_LED VAR led2t
HEART_LED VAR led0
Problem solved:
Code:'::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ' Variable definition '::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ERROR_LED VAR PORTD.1 ' rename the LED's LATE_LED VAR PORTD.2 HEART_LED VAR PORTD.0 PORTD = 0
Bookmarks