Various arduino hacks