October 28, 2010 - blinkie progress
Oct. 28th, 2010 09:41 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I have a preliminary charlieplex display driver written, and it mostly works. One line is not being driven properly, so there's some little bug in it somewhere. Fairly promising though. I'm writing this in C so it's a hell of a lot quicker and easier to program - so far it's only about 50 lines of code. It isn't doing patterns yet. Those aren't hard but they're time consuming.
The code isn't interrupt driven yet, I want to do that so that I can totally ignore display timing and write code that does nothing but worry about pattern timing. Totally separating the two will make things easier to program.
I also have to learn about sleep mode and prove the concept of using a single pushbutton switch and deep sleep mode as a substitute for "off" mode.
I may have something in rough prototype (still on breadboards and development boards) at Windy.
Once I get it on stand-alone breadboards, I need to try to do some current measurements and see how long it runs off various batteries, then I can think about starting to lay it out.
I also need to decide whether to try to make it reprogrammable in circuit.
The code isn't interrupt driven yet, I want to do that so that I can totally ignore display timing and write code that does nothing but worry about pattern timing. Totally separating the two will make things easier to program.
I also have to learn about sleep mode and prove the concept of using a single pushbutton switch and deep sleep mode as a substitute for "off" mode.
I may have something in rough prototype (still on breadboards and development boards) at Windy.
Once I get it on stand-alone breadboards, I need to try to do some current measurements and see how long it runs off various batteries, then I can think about starting to lay it out.
I also need to decide whether to try to make it reprogrammable in circuit.