In these activities, you will write scripts to control the servo motor directly. In addition, you will also incorporate the pushbutton circuits from earlier activities for servo control and the LED circuits as indicators.
Green, yellow and red LED circuits connected to P13, P14, and P15 from Blink Sequencing:
Pushbutton circuit connected to P6 from Build & Test a Pushbutton and pushbutton circuit connected to P9 with parts from Inside the Pushbutton plus parts and circuit from Second Pushbutton.
Alligator clip probes from First Electrical Connections with a Breadboard and recently used in Measure Pushbutton LED Control with an Oscilloscope:
Jumper wires that connect the 3V to the (+) bus strips and GND to the (-) bus strips from Set Power for Circuits:
3-pin headers from First Electrical Connections with a Breadboard that connect the alligator clip probes to P2 and P0:
If you completed Measure Resistance [4], leave these Ohmmeter Circuit parts connected to your board too:
Links
[1] https://docs.google.com/document/d/1asGagFcCcZGRkj3Us4pviBvAStlATDwboIJCYVCWeHU/edit#heading=h.bvmo5m4070bw
[2] https://learn.parallax.com/tutorials/language/python/led-lights/blink-sequencing/script-and-tests
[3] https://learn.parallax.com/tutorials/language/python/sense-pushbutton-presses/second-pushbutton/script-and-tests
[4] https://docs.google.com/document/u/0/d/1oeuVzMphlOWSzawkfk8A2crN_xNmfI4cBJn7b6tZ84U/edit