dealing/separating strings in BASIC
August 14, 2008
I didn't know whether to put this in absolute beginners or here..
anyways, what i'm trying to do is use my ADC port to get some values from one of my sensors and once i've done this i want this value to be displayed on a three digit seven segment display. I know how to right single numbers on the 7-segment display, but i wouldn't know how to deal with, say, a three digit number.
So i thought it might come in very handy to separate the ADC value in three parts. Example: say readadc gives 234, i want to have 3 variables which are equal to 2, 3 and 4. I know how to do it with other languages but not with basic. Not only though. I also wanted to ask you if any command you actually use with BASIC can also be used by the BASIC offered by the picaxe. (or can i only use the commands listed on the manual?)
thank you :)