Read a file to a string in a single line of Java

23 Jun

Rarely in my career have I written significant amounts of Java, so when I do use it I’m always learning new things.  I thought this unique way to use Scanner to read a text file into a string was great:

Nice … Read More »

Simple AVR Button Debounce

14 Jan

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.

Where bit_is_clear is defined in AVR-LIBC IO.H … Read More »