So you are working with a graphic LCD or OLED display and want to draw icons or fonts to display on it? I have built a tool to make this easy by allowing you to specify information about your matrix … Read More »
I needed a simple debounce for a push button wired directly to a digital input on an ATMega. I’m sure there are more advanced techniques but this is working well for me.
/* the button is pressed when BUTTON_BIT is clear */
if (bit_is_clear(BUTTON_PIN, BUTTON_BIT))
if (bit_is_clear(BUTTON_PIN, BUTTON_BIT)) return 1;
Where bit_is_clear is defined in AVR-LIBC IO.H … Read More »
If you have done any Atmel / AVR development you have probably heard of Procyon AVRLib. If you haven’t, you are in for a treat. It is an old library, but contains incredibly valuable drivers for all manner of popular … Read More »