If this software is cool or useful to you, consider a small donation to the programmer!
There is *no* need to pay to download and enjoy this software!
But it's a lot of work and I do it in my so-called spare time, so a couple of dollars
would be really appreciated! :)|
(Alternately, there's my Amazon Wishlist)
Click here to download:
|0 downloads this week
77 downloads total
|Download WiiTT source and hex (4.1 k)|
This is a short and simple 8 LED chaser with PWM for the Atmel AVR series. It performs a simple software PWM on port D, and takes in a trigger on port C pins 4 (short) or 5 (long). The inputs are pulled up, to trigger with a press to ground. The LEDs may be directly connected, the AVR will drive them high, so connect the other side to ground.
I did it for my WiiTT project (see the Gallery), but it may be useful to anyone as a sample of doing PWM manually. The code is very short but isn't necessarily very neat.
Package includes source and hex file for Atmega168.
Watch it run on YouTube
Look at the Gallery page for the project
|Title:||WiiTT LED Chaser|
|<-- Previous software in AVR (PS2 Adapter for TI-99/4A)||Next software in AVR (Editor/Assembler Complete) -->|
|<-- Previous software in All (Zombie MOTIF)||Next software in All (Editor/Assembler Complete) -->|