Spare COGs

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: 2007-05-18 | updated: 2013-05-02

Silly and simple...I wanted to monitor COG usage and see what COGs were assigned, when they are released and how many I have spare.This object has 2 functions - freecount which returns the number of free COGs and freestring which returns an 8-character zero-terminated string pointer with a dot in each character position if the cog is in use and the cog-number if it is free.Alex.

 

Original File Upload
AttachmentSize
Binary Data sparecogs.spin1.82 KB