Would be easier you to tell what you want to do with those " jumpers " ... a jumper is someting easily removable ... so, there's something I do not understand here ...
Code:
'******************************************************************************
' check if programming jumper not forgotten ...
'******************************************************************************
delay = 0
BUTTON Prog,0,255,0,delay,1,mesurav
oubli: ' infinite loop ... jumper MUST be placed ...
error = 1 ' Blink the led !!!
PAUSE 50
error = 0
PAUSE 50
GOTO oubli
'******************************************************************************
'******************************************************************************
' Measure programming pulses
'******************************************************************************
'******************************************************************************
'******************************************************************************
Mesurav: 'Measure Forward Max pulse
'******************************************************************************
Show = 1 ' programming led ON
Entree = 0
GOSUB Mes
...
Bookmarks