-
Notifications
You must be signed in to change notification settings - Fork 8
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 ability to export Arduino code for a registered site #7
Comments
We'll be basing the snippet generator off this .ino file: |
@fryarludwig, please let me know if there's anything in that .ino that you don't understand! |
@fryarludwig - rather than displaying the code on the page, let's add a button that opens a modal window. @SRGDamia1 and @aufdenkampe - I think we probably need some feedback from you guys on this. |
@fryarludwig, thanks for all this hard work! What you just showed looks like a great help, and I'm leaning toward releasing the next version based on just generating the code snippets with the UUIDs and leaving the full .ino generation for a later release, because, as you point out, @SRGDamia1 and I will need to do some work to provide additional information about the pin configurations for each sensor, etc. I also agree that there may be some higher priority issues to work on, which you could do in parallel to the our work. Let's meet this week to discuss next steps. |
Once a user has registered a site and added sensors to it, add a button to the site details/registration page that exports a code block with the following:
This would enable us to use standardized code for the rest of the Arduino code, but the users can paste this code into the standard code. Still need to define exact content and format of the code that is exported.
The text was updated successfully, but these errors were encountered: