For this assignment the microcontroller 44 was chosen Attiny whose datasheet is as follows
Pin Descriptions
To program this card was used the Arduino software, which you must install the necessary library for this microcontroller (ATtiny 45), you can download this library link below
https://github.com/damellis/attiny/archive/ide-1.0.x.zip
Before that you must download the "arduinoISP" program and download it l plate arduino one thereby arduino card will be saved as a recorder of the Attiny card.
Must be taken into account, the location of each pin:
After that an example program that is in the same software loaded
The result obtained was as follows
We can also try with other codes. In this case, when you press the button, the led will blink 3 times
And in this case, every time I press the button, the state of the led changes