Azure storage is an excellent option for storing assets for your web application (or even your entire static web application), but it is often preferable to have this data delivered to the browser using HTTP Compression to reduce file size and improve performance. Here we introduce a new utility to automate managing HTTP Compression settings for your blobs.
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 »