TinyDuino Darkness Gauge

TinyDuino Darkness Gauge
« on: April 14, 2013, 02:38:15 PM »
Hi, made a simple darkness gauge with a TinyDuino, LED shield, Proto2 shield and a LDR.

Here's how it looks

And how it works https://bitbucket.org/tamberg/tinycircuits/raw/6fe520a019761098efaa746f7c4690018d81b603/TinyDuinoDarknessGauge/TinyDuinoDarknessGauge.ino


Re: TinyDuino Darkness Gauge
« Reply #1 on: July 06, 2013, 12:45:53 PM »
This is cool :)
Did you use a resistor with the  LDR or was it just directly connected to A3 and ground ?

Re: TinyDuino Darkness Gauge
« Reply #2 on: February 21, 2014, 08:03:22 PM »
Thank you for posting this code.  I was going to write similar code to support Charlieplexing using the switch / case statement but I suspect my attempt would have been clumsy.

When using the Charlieplexing library, I do not know how to select a CharlinPin at random, so had to go with not using that library.