The goal of this assignment is read the microcontroller data sheet and program the board to do something, with as many different programming languages as possible.
Documented what you learned from reading a microcontroller datasheet
What questions do you have? What would you like to learn more about?
Programmed your board
Described the programming process/es you used
Included your code
First of all we have to know that the pinout of the ATtiny 44A microcontroller are different number in the Arduino code. We can see at the image below.
Before to begin, we need the Aruino's software, it is possible to donwload in the Arduino's web.
To install the Attiny on Arduino we need:
1. In the menu select: 'File' -> 'Preferences' and add "https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json" on the line where it put 'Additional Boards Manager URLs'.
To install the drivers for the FTDI wire i found this web which explain how to do it.1. Search the Arduino's folder.
We have to supply the ATtiny and connect it to the FabISP, the programmer (with the VCC, GND, MISO, MOSI, SCK and RESET pins) and connect the programmer to the ISP connector of the hello-wold board. Also it is necessary to supply the hello-world board with the FTDI wire.
As we see in the picture before, we have to chose the ATtiny44 (external 20 MHz clock) on the Tools -> Board. We also have to chose the programmer USBtinyISP on the Tools -> Programmer.
To upload the program, fisrt verify that the program is correct with the first buttons that we can see at the image below, this is to compile, if everithing it is right, click the next button to upload the prgram to the ATtiny.
First I tried the Neil's program. I upload the program but it didn't work, it is for that reason that I repeated the board and I weld the components again. In this new board I had any problems, everythikg was good.
Later I did another program, modifying it, I changed the button, in this case act as a switch.