Back to Parent


I started to work with the servo motor by creating a function that would take a number (between 0 and 180) as input to represent the angular position and position the servo accordingly. 

After successfully getting the initial function to work, I created two new functions that would (1) take temperature between 0 and 100 degrees as input or (2) take weather (mapped to discrete numbers 1 through 4)  and move the servo hand to the corresponding angle for that temperature or weather type. 

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!