Sparks,
The sequence is not that strange. If you observe a specific digit, for example 0,
you will notice that there are ten ticks between·0's. The pace is slow enough
to count. This 10 is the supplied interval time in taskInterval array.
The same applies to the other digits (eg. tasks).
regards peter
Post Edited (Peter Verkaik) : 3/7/2007 11:53:31 PM GMT
Thanks for that info.
I was just debugging the programs using larger delays in the tasks.
The tasks then appear to get stuck (eg. only 1 task keeps running).
I adapted the programs with your suggestion and they seem to run ok now.
I will upload the modified programs shortly.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*.*
Ibsen
" It's nice to be important, but
·· more important to be nice... "
The sequence is not that strange. If you observe a specific digit, for example 0,
you will notice that there are ten ticks between·0's. The pace is slow enough
to count. This 10 is the supplied interval time in taskInterval array.
The same applies to the other digits (eg. tasks).
regards peter
Post Edited (Peter Verkaik) : 3/7/2007 11:53:31 PM GMT
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Coming soon! Propeller based OSD module www.hittconsulting.com
·
Where Peter has aliased the array element bits:
kMisrRunning var kFlag.6
kMisrFinished var kFlag.7
These aliases don't work properly. Actually both get aliased to just kFlag.
The fix is to do this:
kMisrRunningBit CON 6
kMisrFinishedBit CON 7
Then in the program replace "kMisrRunning" with "kFlag.kMisrRunningBit"
and replace "kMisrFinished" with "kFlag.kMisrFinishedBit"
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Coming soon! Propeller based OSD module www.hittconsulting.com
·
Thanks for that info.
I was just debugging the programs using larger delays in the tasks.
The tasks then appear to get stuck (eg. only 1 task keeps running).
I adapted the programs with your suggestion and they seem to run ok now.
I will upload the modified programs shortly.
regards peter
Don't forget to set pinTX to the I/O port you want to use.
regards peter
regards peter