This is driving me mad. This code worked but now for some reason it doesn't. The OSHON simulator just stops at the while button1 <> 0 line. The idea is to wait for the button to be released. Can anyone see anything wrong?
Symbol button1 = PORTB.0 'J18 - Pin 15'
start:
'--- RUN ---
If button1 = 1 Then
Gosub wait1off
'Gosub sendserial
Gosub runmenu
Goto finish
Endif
Hmmm apparently thats it. Chop a few new subroutines out and all is well. So why does the Image above show loads of space on the PIC or am I reading it wrong?
Hmmm apparently thats it. Chop a few new subroutines out and all is well. So why does the Image above show loads of space on the PIC or am I reading it wrong?