Page 1 of 1

Arduino IDE able to write and compile code?

Posted: Mon Apr 13, 2015 7:50 pm
by vagos21
Hello everyone, and forgive me if this has been answered before, i seached through the forum but didn't find anything relevant. I've been programming arduinos through their own IDE for years, so i can say i'm pretty experienced, but this is the first time i want to try building my own HID device with just an atmega328. I've been around all day but i can't get this clear:
do i need to learn AVR programming and get something like AVR Studio to write and compile code for the atmegas? or is it possible to write the simpler arduino c code i've been doing with their IDE till now?
i've seen a video where someone uploaded the blink code to a vusb atmega and it worked just fine. well i guess any program can be compiled and uploaded, but:
is writing HID code possible with the current arduino commands? is it too complicated? do i definitely need to learn AVR programming to accomplish it?

thank you and please bear my newbieness :D

Re: Arduino IDE able to write and compile code?

Posted: Tue Apr 14, 2015 3:25 am
by guscrown
Adafruit has an example of a USB HID Keyboard using their Trinket and Pro Trinket (both Arduino compatible) using V-USB. You should check it out, and yes it compiles with Arduino IDE.

https://learn.adafruit.com/pro-trinket- ... d/examples