Open
Description
I discovered this while attempting to support ESP32 boards. In the arduino-esp32 library, INPUT
and OUTPUT
are defined as 1
and 2
instead of 0
and 1
(as typically found in Arduino.h).
To resolve, PIN_MODE_INPUT
and PIN_MODE_OUTPUT
should be used instead of INPUT
and OUTPUT
in StandardFirmata variants as well as in ConfigurableFirmata. The issue is here and here in StandardFirmata for example.