Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor to move features like i2c, serial, etc to separate modules #168

Open
soundanalogous opened this issue Apr 22, 2017 · 1 comment

Comments

@soundanalogous
Copy link
Member

firmata.js is starting to get too big to easily manage. I think we should break out some of the features into separate modules. Initial candidates are things like I2C, Serial and the SPI support I'm working on.

@soundanalogous
Copy link
Member Author

I'm not sure yet how this would impact upstream applications like johnny-five or other projects that depend on firmata.js. Maybe the firmata.js module could simply imports the required modules kinda like johnny-five.js does. Those modules could be:

firmata-core.js (digital and analog I/O, transport, etc)
firmata-servo.js
firmata-stepper.js
firmata-i2c.js
firmata-serial.js
firmata-spi.js
firmata-onewire.js
etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant