mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-12-22 23:48:51 -05:00
Update README.md
This commit is contained in:
parent
615cd4ce48
commit
8daa6f30dd
@ -60,8 +60,8 @@ PB5,4
|
|||||||
## Joystick.c
|
## Joystick.c
|
||||||
SetupHardware (before USB_INIT):
|
SetupHardware (before USB_INIT):
|
||||||
```
|
```
|
||||||
DDRB = 0x0; //PORTB=input
|
DDRB = 0x00; //PB0-7 -> input
|
||||||
PORTB = 0xff; //PORTB=pullup
|
PORTB = 0xff; //PB0-7 -> pullup
|
||||||
```
|
```
|
||||||
|
|
||||||
CALLBACK_HID_Device_CreateHIDReport (before report size):
|
CALLBACK_HID_Device_CreateHIDReport (before report size):
|
||||||
|
Loading…
Reference in New Issue
Block a user