Testing Code Posting
Jeff Martin
Posts: 760
This is the first code posting test I've done since our new forum went live.
[B]VAR[/B] long cog,Enable,Clock,Data,HM55B_x,HM55B_y,HM55B_theta [COLOR=black][HIGHLIGHT]PUB stop[/HIGHLIGHT][/COLOR] '' Stop driver - frees a cog if cog cogstop(cog~ - 1)
Comments
VAR
long cog,Enable,Clock,Data,HM55B_x,HM55B_y,HM55B_theta
PUB stop
'' Stop driver - frees a cog
if cog
cogstop(cog~ - 1)
VARlong cog,Enable,Clock,Data,HM55B_x,HM55B_y,HM55B_thetaPUB stop'' Stop driver - frees a cog if cog cogstop(cog~ - 1)[/HTML]
long cog,Enable,Clock,Data,HM55B_x,HM55B_y,HM55B_theta
PUB stop
'' Stop driver - frees a cog
if cog
cogstop(cog~ - 1)[/PHP]