Lighthouses_Manx_Waters_build by Kimosubby

Cloned from Sketch Buoys_ATtiny85_Safewater_working by Kimosubby

Group flashing of LED using millis, arrays and rotary encoder as selector
This sketch uses an array/millis based LED control with a button to select flash sequences. The button sketch works well, with pull-up pins and millis. Then to progress and replace the button with a rotary encoder from another sketch, and then to develop that to use an OLED display and a menu to select from. The rotary encoder sketch is written and operates using its own library Rotary.h and interrupts. The final sketch will be used to display lighthouse characteristics, names and data via LED and OLED screen.

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