SIK_circuit09_flexSensor by SparkFun SIK Examples

Use the "flex sensor" to change the position of a servo
In the previous sketch, we learned how to command a servo to move to different positions. In this sketch, we'll introduce using a flex sensor to control the servo based on the amount the sensor bends or flexes. ####Wiring Diagram ![enter link description here](https://raw.githubusercontent.com/sparkfun/Fritzing_Parts/master/kits/12060_sfe_inventors_kit_with_redboard_v32/sik_redboard_circuit_09.png)

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:77057" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>