Purpose: Simulated pain message with flex sensor
Hello Matt,
This code is meant to simulate pain. As in punching or kicking someone. Idea cam from my older brother, when he used to wrestle me. I would yell Ouch! Stop! When flex sensor is bent is it simulates a hit which will trigger the LCD screen that will display a message. Due to running low on time I was not able to wire it fully and run it, so just a heads up.
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:293651" 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>