- Delay ā A pause in the program
- In Arduino: delay(1000) pauses for 1000 milliseconds (1 second) before moving to the next command.
- Simple but blocks all other actions during the pause.
- Timer ā Tracks elapsed time without stopping the program
- In Arduino: millis() returns the time in milliseconds since the board was powered on.
- Allows multitasking (e.g., blinking an LED while reading a sensor).
- Sequence Control ā Arranging multiple actions in the right order and at the right speed.
Lesson 1: What is an Actuator?
0/5
Lesson 2: Turn Signals into Motion
0/5
Lesson 3: Timing and Control
0/8
Lesson 4: Smart Alerts and Feedback
0/10
Lesson 5: Automate with Purpose
0/11
Lesson 6: Show Your Smart Machine
0/10