Further into main

screw-1924173_1920.jpg

Welcome to the latest instalment of my blog!

This time I’m getting stuck into the main code, line by line, and working out how exactly those three LEDs are able to flash on and off all on their own…

There’s quite a lot of text formatting needed in order to make this post intelligible. WordPress isn’t the best platform for that sort of thing, so I’ve written up the majority of the post as a Word file, saved in pdf format. Not ideal, I know, but the best solution I’ve come up with so far. You can download it here:

Further into main

In writing this post I have had a strong feeling of fragmented bits of my existing knowledge coming together into a more coherent whole. Things that didn’t make sense before are finally now starting to make sense. I’ve tried to be as accurate as possible with my terminology, especially as it relates to the C language, as I feel this is a good habit to get into. But please feel free to point out any errors I may have made – that’s what the Comments section is for.

Just to reiterate, this blog isn’t intended to be a beginner’s guide to programming microcontrollers, or a definitive guide to C, or anything like that. It’s just a record of my personal journey into the world of embedded programming.

Until next time…

 

Chris.