Robotics Design Project
While coding the servo motors to turn when given a command via the Serial monitor, I reached a roadblock. Since it needed to be continually monitoring the Serial input, it was unable to run the other code simultaneously. Originally, I was going to have to Arduino run two codes simultaneously, except this was not possible due to the constraints of the Arduino hardware/software. Instead, I made two scripts; one which would be uploaded when I needed the temperature read, and the other for when the Servo needed to be turned.
0 Comments
Leave a Reply. |
Archives
May 2018
Categories |