SoftwarefirmwareThe low‑level code that runs directly on the microcontroller to control hardware functions.