Skip to content

break out I2C and Servo features into classes #267

Open
@soundanalogous

Description

@soundanalogous

To help simplify maintenance of all of the StandardFirmata* variants as well as improve code readability (especially in the massive sysexCallback switch statement), break out the Servo, I2C and Serial features into classes. This also enables conditionally including these features so that StandardFirmataEthernet and StandardFirmataEthernetPlus can be merged (user comments or uncomments Serial feature include to add or remove the extra functionality) - in the same way, Serial and other new functionality can be conditionally added to StandardFirmataWiFi, StandardFirmataBLE, etc.

The only downside is this will increase the memory usage somewhat.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions