LCD Debug Cog

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2013-04-10 | updated: 2013-04-10


LCD Debug Cog:

This object can be used as a drop-in replacement for the Debug_Lcd object. It uses a cog to control the LCD, thus freeing the source cog of the wait time required to display information on the LCD. The only method that is missing is the custom method which allowed custom character maps. An added method: cr, it is used for carriage return (same as putc($0D) or putc(13)).Version 1.1 uses a queue system to allow for up to four commands to be sent in short succession without great delay (only a few cycles each to set variables). The commands will be executed in order by the debug cog. If a fifth command is given before the first has completed the source cog will have to wait until the fourth position is made available (and so on).

In Debug_Cog Demo, the Demo can be executed with Debug_Lcd in 2,363,072 cycles, Debug_Cog V1.0 took 1,472,048 cycles, but version 1.1 took only 45,552 cycles!

Original File Upload
Package icon Debug_Cog_Demo_-_Archive__Date_2008.10.03__Time_13.20.zip16.85 KB