I want to test some servos by sending a numerical value(the angle) using the serial monitor. I plan to read the numerical value and assign it to a variable which will go to the servo motor, but i am getting confused how and which commant to use because the serial.read() returns a value that is not the actual value of the number.
Post your code and, if possible, your wiring schematic.
Try reading these:
Take a look at the Serial.parseInt() function
that's the problem, i didn't make any code because i was confused how to make it
thanks, lemme see if i can make the code that suits my needs
Sad you can choose only one reply as the solution
You can always give a
to a reply.
True