I have some Common Anode 7-Segment LED diplays. Is there any library to run them?
Sure. Did you search for any?
How many is "some"?
Someone posted very recently even a sketch to multiplex 3 digits, part of a 900 second countdown timer.
Did you want to control them via shift register to save pins? (1 register per digit)
Did you want to multiplex them? (7 IO pins, plus anode control per digit, perhaps a compination of shift register & anode contriol/digit?)
Scroll down here to LED stuff
http://arduino.cc/playground/Main/InterfacingWithHardware#Output, see if anything suit your fancy.
I have 2 digits displays, common annode, and my idea was to multiplex them using PNP transistors, without a shift register.
This links you sent are enough help.
Now I´ll have to strat experimenting with the timer interrupt code.
Timer interrupt? Seems like overkill.
Use blink without delay, every pass thru loop see if 5-10-15mS have gone by and drive the other digit if it has.
You could look at the library I provide with the Digit Shield. I use timer interrupts to automatically handle the multiplexing so that your Arduino sketch can do other useful things without worrying about the timing of the multiplexing.
Hi guys; I just post a program to multiplex 2 digit. It count from 0 to 99 and repeat. Not test yet. It use a 7447 BCD to display decoder. Here the link.
I just finish testing and refine my 2 digit multiplex program. It work fine. Check the new post up. Same link of July 11 post.
@Techone: Will, do. Thanks!