-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add Impeeduino Library #44
base: master
Are you sure you want to change the base?
Conversation
…ling down correctly
…itrary data opcode to avoid 0xFF issues
@AG6GR, do you still want it to be a stock library? What is the usage for this code? What's the hardware setup that we can use to test it? Thanks! |
@ppetrosh This was written for a hackathon to simplify the process for working with the impeeduino board. Previously, users would have to write Arduino code separately, using the imp to upload the code every time they made a change. This made it difficult to work with the Arduino and take advantage of the power of the Imp module. With this library, the Arduino side of the impeeduino only has to be programmed once, then all I/O can be controlled from the Imp code. The impeeduino boards distributed at HackPrinceton were preflashed with the Arduino code, so that users could immediately start using the board. To set up a factory new impeeduino would require running through the instructions in the programmer model's Readme file (hardware/impeeduino/programmer/README.md). The documentation for the Imp library itself is given in the main Readme. A example of using the library to toggle inputs and outputs based on http requests to the agent is given in the examples directory. Since the impeeduinos were only used for a few hackathons, and will be replaced by the impExplorer for any further events, I think it might not be necessary to make this a fully supported official library. However, it would be nice to have the code and updated documentation available in an official repository as a reference for people who have impeeduinos we gave out in the past. |
Cool move 💃 |
Yep, cool stuff, thanks! We'll review and get it merged to the official repo. |
I've written out a new Impeeduino library to provide a simple way to instruct the Arduino side of the Impeeduino to perform basic tasks over UART. Example code for controlling the Impeeduino with HTTP requests is also included, along with updated documentation.
This class should greatly simplify the process of working with the Impeeduinos, which will be important for future outreach efforts. Let me know if I need to make any changes, or if you have any suggestions!