Day 3 Message in a Bottle
Yesterday we learned that there is a loop at the core of every embedded-control application, and we learned to code it in C using the while statement. Today we will continue exploring a variety of other techniques available to the C programmer to perform loops. Along the way, we will take the opportunity to briefly review integer variable declarations and increment and decrement operators, quickly touching on array declarations and usage. By the end of the day you will be ready for a hopefully entertaining project that will make use of all the knowledge you acquired during the day by creating a survival tool you’ll find essential should you ever be stranded on a deserted island.
In this lesson ...