int, float, bool on Arduino
Pick the right type to hold sensor data and flags.
Boxes for Your Data
A variable is a named box that holds a value while your sketch runs, so you can store a sensor reading once and reuse it later. 📦
Why Types Matter
On Arduino you must say what kind of value a box holds. The type decides how much memory it takes and what values fit inside it.
All lessons in this course
- int, float, bool on Arduino
- Why delay() Blocks Everything
- Blink Without delay Using millis
- Run Two Things at Once