ICOMP-UNC / Bit-Masters

MIT License
0 stars 0 forks source link

[FEATURE][#2] Handlers interruptions #17

Closed sofiavalos closed 2 weeks ago

sofiavalos commented 2 weeks ago

Dependencies:

This code depends on the previous configurations already defined in the configuration.h file (such as the definitions of ports and pins for the switches and sensors).

What does this code do?

This code handles interrupts from two groups of devices:

Why does it do this?

The purpose of this code is to manage various input devices (switches and sensors) that affect the system's behavior (open/close door and activate/deactivate alarm). Interrupt handling allows these actions to be performed efficiently without blocking the main flow of the program.

How does it do this?