Strings in spin with dec values
nomad
Posts: 276
hi
i have a questions
i am working with the PPDB and the RS232-connection to a linux-box
the questions is:
>>
on the BS2-BOE it's possible to send a String (for the Linux Box)
as:
DEBUG "$",DEC3 angle,":",DEC schalt1,":",DEC schalt2,":",DEC pirF_1,":",DEC irB_1,":",CR
is this with the propeller and in spin possible????
>> Serial.str(String("$") Serial.dec(angle) Serial.str(String(":") Serial.dec(schalt1)
Serial.str(String(":") Serial.dec(schalt2) Serial.str(String(":")
Serial.dec(pirF_1) Serial.str(String(":") Serial.dec(irB_1) Serial.str(String(":")
Serial.SetDelimiter(13)
PUB dec(value)
'' See FullDuplex Serial Documentation
'' Serial.dec(1234) ' send decimal value as chracters
ExtSerial.dec(value)
thanks for hints and tips.
regards
nomad
Post Edited (nomad) : 8/24/2009 12:38:03 PM GMT
i have a questions
i am working with the PPDB and the RS232-connection to a linux-box
the questions is:
>>
on the BS2-BOE it's possible to send a String (for the Linux Box)
as:
DEBUG "$",DEC3 angle,":",DEC schalt1,":",DEC schalt2,":",DEC pirF_1,":",DEC irB_1,":",CR
is this with the propeller and in spin possible????
>> Serial.str(String("$") Serial.dec(angle) Serial.str(String(":") Serial.dec(schalt1)
Serial.str(String(":") Serial.dec(schalt2) Serial.str(String(":")
Serial.dec(pirF_1) Serial.str(String(":") Serial.dec(irB_1) Serial.str(String(":")
Serial.SetDelimiter(13)
PUB dec(value)
'' See FullDuplex Serial Documentation
'' Serial.dec(1234) ' send decimal value as chracters
ExtSerial.dec(value)
thanks for hints and tips.
regards
nomad
Post Edited (nomad) : 8/24/2009 12:38:03 PM GMT
Comments
You do need to have OBJ Serial : "FullDuplexSerial" declared in your program
thank you verry much for your tips and help
regards nomad
-Phil