C: https://github.com/Redisage/PAC-ESP32/tree/master/C_examples/Switch

Simple tactile switch example intended for Open IoT Gateway P01 variant. Red color of the RGB LED lights up after pressing the switch.