A firmware library shared by attiny-based modules