Skip to main content

Switch

{{@218#bkmrk-open-iot-and-iiot-ga}}

Link to repositories:

  • C
  • MicroPython (#TODO)

Description

Simple tactile switchThis example intendedshows forhow to use the Openbutton IoTlocated Gateway P01 variant. Red color ofon the RGBboard. LEDThere lightsis upa aftersimple pressinginterrupt handler implemented with a queue used to send a parameter from the switch.handler to a main loop. The board should react on every button press or release with a communicate on the console log.

Console output

image.png