Embedded programming.

Eigth week

For this week we must program the elecronic circuit made in the sixth week.
I started making the connection cable.

I have seen some tutorial to how learn C here.
Some things are not really intuitive. I searched for a while an alternative method to program without arduino, but I don't mind about using just his libraries.
I took a lot of time before understand what options I have t modify, and I make some mistakes to place the correct pin numbers on the board.
First attempts gave me always errors, and after a lot of time I see (or a fablab friend see) that I forgot to remove the after/programming jumper..

So I tried with an external programmer to see if was a programmer or circuit problem, but the circuit worked good.
Than I changed the faulty resistor, and the programmer worked perfectly.
To try imput/output options, I have seen both arduino libraries examples and previous year students codes.




Those are some examples of imput variables.







Copyleft © Alessandro Patrizi 2016