In this module we will learn a more accurate timing method used in everything from button counts to video games. We apply it in a simple example case, while focussing on core concepts to Arduino programming like analog input and arrays.
So far our timing techniques have been rather simplistic: we simply delay when we need to. In some situations, it will be necessary to check for certain events at a specified rate, or it may be necessary for different parts of our system to communicate with each other periodically. In these scenarios, a delta timing technique can be used to synchronize these events and make them consistent.
|Delta Timing||In this video we introduce delta timing and show some examples.|
|Rolling Average Filter||Noise is a big problem when dealing with analog circuits. This video will show you a technique to smooth out the noise.|
|Fixed Point||In our previous discussion about information representation we talked about ints and longs. This video will introduce you to a decimal data type: fixed point.|
|Floating Point||Fixed point has some limitations, namely the range of values that can be represented. This video introduces an alternate way of representing decimal values: floating point.|
Generated at 2023-11-17 18:42:25 +0000.
Page written by Doug Shook.