Search found 2 matches
- Wed Nov 16, 2011 10:25 pm
- Forum: V-USB
- Topic: solved: HIDKeys + ATMEGA16
- Replies: 1
- Views: 2756
solved: HIDKeys + ATMEGA16
Hi folks, I'm in desperate need for some assistance as I spent hours trying to get the HIDKeys to work on some MJoy16 hardware I had lying around. This is a firmware only joystick device, which is closed source and built according to this schematic: http://www.joysticks.ru/download/files/MJoy16_v1.p...
- Tue Nov 15, 2011 12:11 am
- Forum: V-USB
- Topic: USB pins: INPUT or OUTPUT?
- Replies: 1
- Views: 2336
USB pins: INPUT or OUTPUT?
Hi all, DDRD = ~(1 << 2); /* all outputs except PD2 = INT0 */ DDRB = ~USBMASK; /* set all pins as outputs except USB */ form the PowerSwitch example project so USB is input DDRD = 7; /* 0000 0111 bin: all pins input except USB (-> USB reset) */ from HIDKeys example project so USB is output what now,...