Search found 4 matches

by jokkebk
Mon Jan 11, 2016 12:48 am
Forum: V-USB
Topic: USB MIDI Interface
Replies: 93
Views: 112947

Re: USB MIDI Interface

Hi all! Thanks to Martin for the great V-USB MIDI efforts. I combined Adafruit Trinket USB HID keyboard code and MIDI project to arrive at Adafruit Trinket & Pro Trinket MIDI library: https://github.com/jokkebk/TrinketMIDI Unfortunately, my ultimate goal wiring the Pro Trinket hardware UART RX l...
by jokkebk
Fri Feb 24, 2012 1:43 pm
Forum: V-USB
Topic: BUG or feature in using usbFunctionRead?
Replies: 0
Views: 1583

BUG or feature in using usbFunctionRead?

I tried to use usbFunctionRead today to transfer longer strings to PC. In a nutshell, the firmware code looked like this (nothing special): static int dataSent; // for USB_DATA_LONGOUT USB_PUBLIC usbMsgLen_t usbFunctionSetup(uchar data[8]) { usbRequest_t *rq = (void *)data; // cast data to correct t...
by jokkebk
Wed Feb 08, 2012 4:28 pm
Forum: V-USB
Topic: New tutorial for V-USB and AVR (ATtiny2313)
Replies: 0
Views: 2021

New tutorial for V-USB and AVR (ATtiny2313)

Hi all, Just thought to let people here now that I have created a four-part tutorial that starts from very basics (soldering a USB cable to a pin header) and goes on to explain V-USB usage on ATtiny2313 device (should work for most 8-bit AVRs with a little tweaking): http://codeandlife.com/2012/01/2...
by jokkebk
Tue Apr 12, 2011 10:42 pm
Forum: V-USB
Topic: Size optimization for 2k flash (attiny2313)
Replies: 8
Views: 4477

Size optimization for 2k flash (attiny2313)

Just downloaded the PowerSwitch demo and compiled it for attiny2313 (I think). The program seems to take 1856 bytes for the V-USB library and the "most basic example program" alone. I think it's a great library but it seems unlikely I will be able to fit much additional logic into the rema...