It is actually simpler to light a single LED to indicate the position of the knob. Try modifying your sketch to do this.

About the Author

Simon Monk is author of a number of books relating to Open Source Hardware. The following books written by Simon are available from Adafruit: Programming Arduino30 Arduino Projects for the Evil Genius and Programming the Raspberry Pi.

This guide was first published on Dec 10, 2012. It was last updated on Dec 10, 2012.

This page (Other Things to Do) was last updated on Oct 12, 2012.

Text editor powered by tinymce.