This is my first post on this forum and first project using arduino,
Recently I bought an old deskjet printer, and try salvaging it in getting dc motors, linear and angular encoders, buttons...
I want to send command to dc motor from file saved on sd card, the command that I'm talking about is a distance (for example 180 or -502). Each line in the file content a distance.
The problem is when I use the function myFile.read() it reads each char separately, Can you please tell me how can I get the entire number and not char?