In Chapter 2 we saw how to turn outputs on and off using C18 statements. Use the delay routines and execute a while loop.
In Chapter 3 we used the for loop.
Chapter 14 showed how powerful the C language is for the microcontroller by calculating the value of C in the expression:
We have of course seen how to add, subtract, multiply, and divide variables and have used the “log” function to evaluate C in the above expression. But there are numerous other mathematical functions that we can use in our programs, ...