raudette
09-05-01, 01:06 PM
Using MaxForth on an NMIY-0020, I'm wondering how to run a section of code:
1) After a timer is set
ie: set a timer, run some code, which is interupted when the timer goes off, and a subroutine runs
2) When something comes in on the serial port
ie: code is being run, something comes in from the serial port, the process is interupted and a subroutine runs
Sample code and/or links to relavant documentation would be appreciated.
Thanks in advance.
1) After a timer is set
ie: set a timer, run some code, which is interupted when the timer goes off, and a subroutine runs
2) When something comes in on the serial port
ie: code is being run, something comes in from the serial port, the process is interupted and a subroutine runs
Sample code and/or links to relavant documentation would be appreciated.
Thanks in advance.