Is this wht your after try it and lets us know
it uses 1 button to turn led on/off

led1_status var bit
button1 var portb.0
led1 var portb.1
main:
if button1 = 1 then ' if the button is pressed

if led1_status = 1 then ' if its last state was 1

led1_status = 0 ' make it 0
low led1
pause 500 'debounce

else

led1_status = 1 ' the last state was a 0 so now make it a 1
high led1
pause 500 'debounce

endif

endif


chuck