Turnout array Free-Mo version by kg6onn

Designed for model railroad Free-Mo modules that use servos for turnout control
Allows independent control of two servos and indication leds. The sketch includes ability to place buttons on both sides of module and have indicator leds on both sides as well. Since the delay() function is used, you must wait for one turnout to be thrown before another button can be pressed.

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