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