M5-ProductExampleCodes
M5-ProductExampleCodes copied to clipboard
https://m5stack.com/collections/m5-application/products/iiot-dual-switch-kit-with-core
https://github.com/m5stack/M5-ProductExampleCodes/blob/fcc2bf58c86aa2502f735c6f60051dfe24861adb/App/IIoT%20Dual/IIoT%20Dual.ino#L51
It appears this line is using the wrong pin, if you compare button codes in loop().