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:13:54 +02:00 committed by GitHub
parent 1a03bc2063
commit 5ac11b49a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ PB6,2,3,1
PB5,4 PB5,4
``` ```
## Joystick.c ## Joystick.c
SetupHardware (before USB_INIT();): SetupHardware (before USB_INIT):
``` ```
DDRB = 0x0; //PORTB=input DDRB = 0x0; //PORTB=input
PORTB = 0xff; //PORTB=pullup PORTB = 0xff; //PORTB=pullup