ferro3states2FerrosMotorShieldNoSin by repied2

Cloned from Sketch ferro3states2FerrosMotorShield by repied2

This sketch is missing a short description
Read IR and potentiometer, Compute pulsing pwm for elctromagnet and an RGB LED Switch between 3 modes with a finite state machine

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:23274" 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>