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

Support for Arduino One #21

Open
jabrena opened this issue Feb 25, 2018 · 7 comments
Open

Support for Arduino One #21

jabrena opened this issue Feb 25, 2018 · 7 comments

Comments

@jabrena
Copy link

jabrena commented Feb 25, 2018

Does exist any plan to compile for Arduino One?

@mikeakohn
Copy link
Owner

I believe this is AVR8 (atmega328) ... there's support in Java Grinder for atmega368 so it should work. I did one project with it: https://www.youtube.com/watch?v=bKoHdinjWd4 using a Trinket.. which I believe is compatible. I can add the source code to that to the Java Grinder repository.

@jabrena
Copy link
Author

jabrena commented Feb 25, 2018

I will test this week. Cheers

@jabrena
Copy link
Author

jabrena commented Feb 25, 2018

Once the code is generated, how to upload to Arduino?

@mikeakohn
Copy link
Owner

I used avrdude. If there are things you need missing from the API let me know. Joe wrote the code for the AVR8... when I was coding against it I was adding features to the API as I needed them.

@jabrena
Copy link
Author

jabrena commented Feb 26, 2018

For Arduino, do you have any example?

@mikeakohn
Copy link
Owner

For uploading I did:

avrdude -c usbtiny -p m328p -U flash:w:water_dropper.hex

This should be the same for Arduino. I believe the board had an Arduino bootloader on it.

@jabrena
Copy link
Author

jabrena commented Feb 27, 2018

I will test how to develop in Maven some automation to send the code after compiling with the project:
https://arduino.stackexchange.com/questions/3784/how-to-upload-an-arduino-sketch-from-java-processing

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

2 participants