This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*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. | |
*/ |