1
0
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:
Jarno Lehtinen 2019-02-13 23:35:09 +02:00 committed by GitHub
parent 615cd4ce48
commit 8daa6f30dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):