How to input NUMBERS through Arduino serial.monitor ??? Answered
Hello ... I would like to ask, how can my Arduino read/store a number that I sent through the serial.monitor ???
For example ... if I want to say to Arduino, how fast it should flash a LED or how fast should a motor turn. So it reads, what number I write to the serial.monitor and then use it.
I was trying to find the answer in arduino forum, but I could not find it. What I was able to find are these infos :
1. I have to check, if it is a number (from 0-9) or a character ... (I have no problem with that)
2. it has to stored and then convert to number
Thank you in advance.