From 8daa6f30ddf9e471f37be0955ae11b44561ec785 Mon Sep 17 00:00:00 2001 From: Jarno Lehtinen Date: Wed, 13 Feb 2019 23:35:09 +0200 Subject: [PATCH] Update README.md --- C64_joystick_atmelstudio/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C64_joystick_atmelstudio/README.md b/C64_joystick_atmelstudio/README.md index a4f92b9..45aa3ce 100644 --- a/C64_joystick_atmelstudio/README.md +++ b/C64_joystick_atmelstudio/README.md @@ -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):