Page 1 of 1

HIDKeys and status LEDs

Posted: Wed Jul 22, 2009 6:34 pm
by gekko15
To whom it may concern;

Will it be possible to adapt the HIDKeys code to include an output of the Scroll Lock status LED? This will allow the project to be easily adapted to applications that require inputs and outputs without a specific computer side driver. Any help in this regards will be greatly appreciated.

Thanks.

Re: HIDKeys and status LEDs

Posted: Wed Aug 12, 2009 2:56 am
by alpha
See my merged code from HIDkeys and C64 keys at:
http://forums.obdev.at/viewtopic.php?f=8&t=3103&p=10497#p10497

I guess you can set the LEDs in the usbFunctionWrite function... I just started AVR one week ago, so I'm not 100% sure.

Code: Select all

uchar usbFunctionWrite(uchar *data, uchar len) {
   return 0x01;
}


Regards,
Markus Schulz