3.2 Cap Touch Click Board Functions

The Cap Touch Click board is primarily used in the main WHILE loop in the programming for this application. There are two IF-ELSE statements that are used by the Click board:
  • One IF-ELSE statement, located in the code for the door module, sends a signal over the EUSART when the sensor on the Cap Touch Click board is pressed.
  • The other IF-ELSE statement, in the code for the desk module, is used to receive the signal that was sent from the EUSART. This signal then triggers the Adafruit NeoPixel Stick to blink on and off.