arduino
arduino copied to clipboard
Avoid including Serial library when not needed
There are some libraries out there that conflicts with Serial. An example overall: Conceptinetics DMX library. check this up https://forum.arduino.cc/index.php?topic=523418.0
By the way I was able to make it work thanks to firmata + eth! Commenting out these lines everything compiles as expected.
void FirmataClass::begin(long speed) { Serial.begin(speed); blinkVersion(); begin(Serial); }
Please avoid including Serial even when not needed. These rows are (almost) useless if you use StandardFirmataEthernet w/o debug features.
This can't be done in a backwards compatible way. It would break all projects that depend on Serial in the current version of Firmata. I can consider it for Firmata 3.0.
First of all: thank you. It would be great.
I also checked the configurable firmata but I think that it’s affected by the same thing. I wasn’t able to find a Firmata release that totally doesn’t use the Serial lib.
Well, thanks you again.