how can concat a numeric value onto a string
chris jones
Posts: 391
Hello everyone
i have a project that i am working on and sending the data over RF i can send a string but i want to place a number at the end of that string·
exmpale
its 90' outside
the 90 oin the string would be a number from my sensor.i have not started to work on the sensor part of the code but i can send a string over RF.
i have a project that i am working on and sending the data over RF i can send a string but i want to place a number at the end of that string·
exmpale
its 90' outside
the 90 oin the string would be a number from my sensor.i have not started to work on the sensor part of the code but i can send a string over RF.
Comments
you don't have to concat it
just code
the value will be send right after the last character of the string
best regards
Stefan
BTW: my object does not have a way to convert integers to strings, but there are other objects that do that, such as Simple Numbers (included with your Propeller Tool).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!
Some of my objects:
MCP3X0X ADC Driver - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm - Fast communication between two propellers (1.37MB/s @100MHz)!