Assignment for week 8 Embedded programming


1.read a microcontroller data sheet

2. program your board to do something, with as many different programming languages and programming environments as possible


Programming

I'm little good in programming so,I thought it best to find some tutorials on programming. I started looking at Youtube. I found it difficult to find courses that suited me. They either were way too advanced or they went into such detail but skipped the basics. I ended of watching the playlist: Free Online Programming Course in C for Beginner by Carl Herold

Link to video tutorial

That was a good introduction into binary numbers. I found it a bit repetitious at times and even though it was basic computer science it failed to communicate to me the overall picture. But I learned a lot about binary and pointers! The best course for me turned out to be Foundations of Programming: Fundamentals with Simon Allardice on Lynda.com

..

Programming the Ttiny44

I'm having Windows 8 OS and the WinAVR seems work fine on Windows 7 and 8 but not 8.1.

Screenshot
Screenshot
Screenshot

..

Screenshot

Hopefully I managed to get the LED and button to work together. One thing to mention is to remember to add a line of code in setup that activates the internal pullUp resistor of the button pin.

Screenshot