Arduino IDE able to write and compile code?

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
vagos21
Posts: 1
Joined: Mon Apr 13, 2015 7:43 pm

Arduino IDE able to write and compile code?

Post by vagos21 » Mon Apr 13, 2015 7:50 pm

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

guscrown
Posts: 6
Joined: Sat Apr 11, 2015 5:44 am

Re: Arduino IDE able to write and compile code?

Post by guscrown » Tue Apr 14, 2015 3:25 am

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

Post Reply