Chapter 5

Day in the Life of a Microcontroller

5.1 The Logical LaunchPad

The previous chapter talks about an important concept for microcontroller and LaunchPad operation. We learned that throughout the execution of a sketch, a LaunchPad simply needs to be set up once before it can run continuously in an endless loop performing various tasks over and over again. Just imagine going through every day of your life doing the same thing over and over again without making any changes or asking any questions. That sounds rather boring!

We need to introduce a new concept to create exciting and dynamic sketches for our LaunchPad and give it a new spice of life! This chapter introduces two new essential elements of programming:

1. Conditional branch: ...

Get Getting Started with the MSP430 Launchpad now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.