Spare COGs

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Alex Mackinnon, 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