0PricingLogin
Arduino & IoT Academy · Lesson

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

  1. int, float, bool on Arduino
  2. Why delay() Blocks Everything
  3. Blink Without delay Using millis
  4. Run Two Things at Once
← Back to Arduino & IoT Academy