To use this file copy and paste this: // #URL-lib "http://pin1.org/forthlib/flb/Interupts/shed-example.fth" into BV Terminal 3 or here to download.
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Simple example of using the schedule libraries, there are two kinds // of shceduler, the round robbin (rr-shed) and the burst (b-shed), see // the library header for each to notice the difference. // This example can be used with either by changing the library include. // // This example simly flashed an LED on and off in the background // // Note the SID value, b-shed is an EXTENTION of interrupt, they must // have the same value as they share common words that are not made // public <0> // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// REQUIRES: // #URL-lib "http://pin1.org/forthlib/flb/General/soft1.flb" sid=99 // #URL-lib "http://pin1.org/forthlib/flb/General/pinsel.flb" sid=100 // #URL-lib "http://pin1.org/forthlib/flb/Interupts/interrupt.flb" sid=101 // #URL-lib "http://pin1.org/forthlib/flb/Interupts/b-shed.flb" sid=101
// CONSTANTS: // This is a counter to control the flash rate of the LED integer tx1
Full Contents of File
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *