One of the esteemed customers just mentioned using interrupts in his PIC program.
This is the oik who can't get polling to work.
This is the oik who can't get polling to work.
.main doSomething doSomethingElse if thingHasHappened: doSpecialThing # always happens here, implying known state after things done goto .main
.interruptHandler doSpecialThing returnFromInterrupt .main doSomething # interrupt could happen here doSomethingElse # or here doThirdThing # or here doFourthThing # anywhere, really - state could be anything goto .main
Comment