First, I'm new in programming ClassPad BASIC.Â
For a project I implemented a code into an AVR which emulates the ClassPad communication protocol. After that and some adc-code, the microcontroller puts out the voltage as an UART string every two seconds. The ClassPad receives this string without any problems but of course it's not possible to calculate with a string.
Is there a possibility to convert a string into a number to calculate with?
In C there exists atoi to do this.
I will go on trying some other ways (e.g. all calculations could be done by the AVR) but I think it's better if the calculations are done by ClassPad.
Maybe I have to switch to C++ to build a ClassPad Add-In but this should be the last way
![;)](/dot/public/style_emoticons/default/wink2.gif)
Thanks for answers
serverone