feature.js is collection of data for all of the current Firmata features for the configurable firmata architecture. Example of "features" are DigitalInput, DigitalOutput, AnalogInput, I2C, OneWire, etc. This collection will grow and needs to be easy for Firmata feature developers to add data for their new features to. What is the best way to accomplish this? A flat file as it currently is? A separate module for each feature (or a file for core features and separate file for each contributed feature (likely device-specific features), a database or something else?
The collection of features will also be used to populate the firmata builder UI (a selection of features and options that the users chooses to generate the Arduino .ino file).
feature.js is collection of data for all of the current Firmata features for the configurable firmata architecture. Example of "features" are DigitalInput, DigitalOutput, AnalogInput, I2C, OneWire, etc. This collection will grow and needs to be easy for Firmata feature developers to add data for their new features to. What is the best way to accomplish this? A flat file as it currently is? A separate module for each feature (or a file for core features and separate file for each contributed feature (likely device-specific features), a database or something else?
The collection of features will also be used to populate the firmata builder UI (a selection of features and options that the users chooses to generate the Arduino .ino file).