Gps_IO_Mini
teganburns
Posts: 134
I'm sure there is a simple answer for this but...
Im working with the GPS_IO_mini.spin program and i think my problem is getting the "return".
I call on a method but don't know how to use the return command. I understand the concept, just need a little help.
Thank You!
in advance
Im working with the GPS_IO_mini.spin program and i think my problem is getting the "return".
I call on a method but don't know how to use the return command. I understand the concept, just need a little help.
Thank You!
in advance
Comments
return cog := cognew(readNEMA,@gps_stack) + 1
Above:
okay catches the return from uart.start.
So why is there a return before cog in the next line?
Shouldn't that be in the readNEMA routine to indicate what variable will be returned?
Page 197 in the manual for the details on RETURN and RESULT.
Page 182 - for Rvalue (return value)