Digital Finds

joseph dot reeves at thehumanjourney dot net
@iknowjoseph

Arduino 7 segment display examples

Dec 26, 2009 by Joseph Reeves

I was lucky enough to receive an Arduino board from Christmas; yesterday I had a quick play with the example code included, but today I tried to cook something up on my own. I've attached the results to this post.

Both simple examples count on a 7 segment display from 0 to 9. The first displays each digit for a second before moving on, the second uses an analogue input (I've tried with a potentiometer and a photocell) to display the digit for a variable amount of time.

Download:

7segment
7segmentAnalogue

I'll be ordering an ethernet shield soon.



Post a Comment:
Comments are closed for this entry.