servo – 2 functions

For our group project we went through a lot of trial and error. Beginning on the day after the assignment was given, we got together to try and write the functions. We worked out the structure of the two functions, but experienced issues with printing directions through the Serial port. At this point we sent a help email to Michael.
Meeting again to work, reaching another point of frustration: this time having trouble with receiving the correct variables in the Serial port. Thinking it was an obvious syntax issue we were just not able to catch, we posted what we had on StackOverflow and received an alternative mode of sanity checking the Serial.read inputs (found here).
An after Lab class conversation pointed us in the right direction, restructuring/simplifying the loop function.

The code runs, but after inputting a number, the servo does not respond and the Serial monitor does not display the accurate calculations of the second function.

Leave a Reply

Your email address will not be published. Required fields are marked *