Hi. Me again. Sorry about that.
I am having a little problem using uint8_t in my code and am not sure how to go about it since I am not as familiar with C++ as a lot of the rest of you.
I am using webbotlib in AVR Studio and am using uint8_t to store numbers inputted through a keypad. The keypad is wired correctly and all the right numbers show up and are stored correctly when buttons are pressed.
What I having problems with is determining the length of the stored number. When the number is 3 characters long (i.e.:123), I want the code to do something, thus...
uint8_t keypadNum;
if (keypadNum is 3 characters long){
do something
}
Can somebody please give me a hand on how to accomplish this? Google is not being my friend on this one, though not for lack of effort.
Thank you!