To use this file copy and paste this: // #URL-lib "http://pin1.org/forthlib/flb/Examples/rotary-shed.flb" into BV Terminal 3 or here to download.
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Rotary encoders schedule library // This version is incorporated into the scheduler and is intended // to be used as a library, the the example for how to use. // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// HISTORY: // March 2008 * error in r-pause fixed
// 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" // #URL-lib "http://pin1.org/forthlib/flb/Interupts/b-shed.flb"
// CONSTANTS: // define the three wires used for the encoder 25 constant line1 26 constant line2 6 constant pushb // integer ra integer rb integer det integer rch variable r-change variable r-value
Full Contents of File
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *