mgbglasgow
Junior Member level 1
- Joined
- Jun 15, 2011
- Messages
- 15
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,508
I am accepting settings for my pic via rs232 from pc, i wish to enter values from 0-999 for settings and store the 3 values as units,tens,hundreds and use these in my timer loops.
My question is how do i capture that data , my compiler doesnt allow me to use sprintf (XC8 v1.33) and im not sure how to approach this problem.
if user enters "60" then i'm in danger of entering "6" in the hundreds area of eeprom, so some intelligence in what is input is also required.
Does anyone know how to address this problem best,
Steven
My question is how do i capture that data , my compiler doesnt allow me to use sprintf (XC8 v1.33) and im not sure how to approach this problem.
if user enters "60" then i'm in danger of entering "6" in the hundreds area of eeprom, so some intelligence in what is input is also required.
Does anyone know how to address this problem best,
Steven