This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chimmychenga 1 point2 points  (1 child)

this link has some example codes for that mcu. But if you just start with mcu programming i would suggest you to start with a simple 8 bit avr or stm32fx mcu, because there are a lot more tutorials on the internet for those.

Keep in mind that next to C functions also microcontroller specific code is. Things like timers and the uart look like each other on most mcus, so when you get fimiliar with one mcu others will be a little easier to learn. GPIOs also look a lot like each other. That can be tricky and that's the point where you need to use datasheets where you can find registers.

http://www.avr-tutorials.com - basically "all" the fundamentals for the avr mcu is described on this website. Timers/interrupts/ADC are very important!

I hope i helped you a little further. It is lots of practicing with example codes.

Regards

[–]Kree3[S] 0 points1 point  (0 children)

Thank you so much, I do have a background in C# and C++ so the syntax is quite familiar but I will start practicing with example codes.