arduino
arduino copied to clipboard
Firmata firmware for Arduino
Now that the parsing functionality has been extracted from the Arduino-specific Firmata.cpp implementation, it would be useful to add unit tests for FirmataParser. Existing tests use ArduinoUnit which runs on...
`FirmataParser::detach` only checks for `START_SYSEX`, but `FirmataParser::attach` will accept any variable as `command` argument. To be consistent, it feels like `FirmataParser::attach` should require `START_SYSEX` or do nothing.
I realized that Firmata.cpp should include Stream.h rather than HardwareSerial.h since any type of Stream may be used with Firmata. I've updated the examples to include HardwareSerial.h before Firmata.h. This...
I will pick on `byte`, because it's the biggest offender. `byte` is nothing more than a `typedef` of `uint8_t`, but `byte` is not portable and `uint8_t` is. This is an...
`void FirmataClass::sendSysex(byte command, byte bytec, byte *bytev)` `typedef void (*sysexCallbackFunction)(uint8_t command, uint8_t argc, uint8_t *argv);` in `FirmataParser` Since parameter `bytec` is used for counting the number of bytes, it would...
Configuration query for Arduino Zero should return 12 rather than 10 for analog pins. Check for a constant in pins_arduino.h that defines the analog resolution. If that doesn't exist, add...
This has come up several times in the past and would be worth revisiting. Past discussions were about whether or not board state should always be stored in EEPROM. I...
When I use StandardFirmata on Arduino Due and connect it with a serial servo motor with Serial1 on pins 19 (RX) and 18 (TX), the servo motor does not work....
Problem: After loading StandardFirmata into the Arduino, the GPIOs are in undefined state, destroying turnouts of my model railway. I despartely need a quick & dirty solution: After loading Firmata,...
Because Firmata only reports digital input values on change (via `DIGITAL_MESSAGE`), it is currently difficult to read a non-changing digital input. Currently there is only one way a non-changing digital...