
Basic Embedded Programming Concepts 61
optimized. For now, just assume that the buffer size is sufficient for the
designs need, and a more in-depth explanation of the two methods will
be presented in Chapter 5.
Mathematics
In embedded programming, mathematics is the means by which a pro-
gram models and predicts the operation of the system it is controlling.
The math may take the form of thermodynamic models for predicting
the best timing and mixture in an engine, or it may be a simple time
delay calculation for the best toasting of bread. Either way, the math is
how a microcontroller takes its view of the world and transforms that
data into a prediction ...