Digistump Forums

The Digispark => Digispark Libraries => Topic started by: paintballbob on December 17, 2013, 08:42:25 pm

Title: Charlieplex Library
Post by: paintballbob on December 17, 2013, 08:42:25 pm
I'm working (slowly) on getting a library created to show strings on a Charlieplex shield. There's probably other ones out there, but this is becoming a lot of fun.

It's still in the very early stages, but I hope to be able to use this asynchronously (if possible) and allow the user to do other things while the display runs.

It has pin mappings for the Digispark and the DigiX Digispark shield...shield.

Check it out: https://github.com/ScottMansfield/Digispark_Charlieplex

Right now there's a few things that need improvement:

1) It uses ~4200 bytes of program memory (eek, I might have to use assembly)
2) It's synchronous and uses delay(). I'd like it to use an interrupt.
3) It only shows letters one by one, I want scrolling letters.
4) It's not very library-like, since the main .ino file is concerned with states n such

Let me know what you all think. Thanks for taking a look.