Open
Description
This method is called setDigitalPinValue
but it actually builds a DIGITAL_MESSAGE
message:
If you are using StandardFirmata.ino
this can result in the wrong pin being changed since SET_DIGITAL_PIN_VALUE
changes the value of a single pin where DIGITAL_MESSAGE
changes the value for all pins on a port.
DIGITAL_MESSAGE
https://github.com/firmata/arduino/blob/master/FirmataConstants.h#L38
SET_DIGITAL_VALUE
https://github.com/firmata/arduino/blob/master/FirmataConstants.h#L44