From 5ce7b070e2e6f4c85042b71422759fdb793f14e0 Mon Sep 17 00:00:00 2001 From: mcgurk Date: Tue, 6 Sep 2016 09:34:21 +0300 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3b4fbf..6d4b581 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,20 @@ In Windows Arduino IDE shows only available com-ports. In most cases it's bigges You can now test your setup. One basic example is "blink". With this board, it doesn't blink, because there is no led in pin 13. Nevertheless you can use it as a test that your IDE and Arduino works. Select File->Examples->01.Basics->Blink and press Upload (Arrow to right -symbol top of code windows). If you get no errors, you are good to go. -- Install joystick library (instructions for installing library: todo): -https://github.com/MHeironimus/ArduinoJoystickLibrary +- Install joystick library + +Go to https://github.com/MHeironimus/ArduinoJoystickLibrary and press Clone or download -> Download ZIP. +Extract Joystick2 folder from zip to + +Windows: +%HOMEPATH%\Documents\Arduino\libraries + +Linux: +~/Arduino/libraries + +After extraction check that you have folder %HOMEPATH%\Documents\Arduino\libraries\Joystick2 or ~/Arduino/libraries/Joystick2. + +Close and start Arduino IDE again so it searches and finds just added library. ### Code This code supports Atari, SMS, NES, SNES and Genesis (3 and 6 button) controllers. Select your controller by commenting and uncommenting stuff from beginning of source code and give your IO-pin numbers.