cog ID
Guyvo
Posts: 21
Hi props,
Is it possible to get the cog ID when running a SPIN program ? (Something like the windows threadid)
Of course it can be kept in a variable set before the start of the cogs but it would be nice to get it from the propeller framework. I don't know if the cogs have a number inside the prop because they seems to be taken of the avaiable pool with the cognew().
Guy
Is it possible to get the cog ID when running a SPIN program ? (Something like the windows threadid)
Of course it can be kept in a variable set before the start of the cogs but it would be nice to get it from the propeller framework. I don't know if the cogs have a number inside the prop because they seems to be taken of the avaiable pool with the cognew().
Guy
Comments
Of course COGID returns the number of the executing COG.
I will look manual first now
Thnx
Guy