Skip to content

Instantly share code, notes, and snippets.

View Giroair's full-sized avatar

Lluís Llimargas Giroair

View GitHub Profile
/*Code for a Badge for Tecnoateneu de Vilablareix.
ATTiny85 based.
It uses pins PB0 to PB3 to controll 12 LEDs using Charlieplexing technique.
Link to the schematic: http://www.technoblogy.com/show?1ONY
Link to implement a ATtiny85 programmer with Arduino: https://www.youtube.com/watch?v=BexXvxmOGN8
ledx(1,time)- turns On LED x and remains On for time indicated.
ledx(0,time)- turns Off LED x and remains Off for time indicated.
Copyleft Lluís Llimargas. Feel free to use or distribute, only mention to @Tecnoateneu and @LluísLlimargas is required.
*/