Open jabrena opened 6 years ago
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.
I will test this week. Cheers
Once the code is generated, how to upload to Arduino?
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.
For Arduino, do you have any example?
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.
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
Does exist any plan to compile for Arduino One?