You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains support for the following SparkFun Arduino-compatible development boards.
3
+
This repository contains support for the following SparkFun Arduino-compatible development boards, modified to work as XInput devices. Originally forked from [the SparkFun repo](https://github.com/sparkfun/Arduino_Boards).
4
4
5
-
#### AVR Boards
5
+
These boards are meant to be used in conjunction with the [ArduinoXInput library](https://github.com/dmadison/ArduinoXInput).
*[LilyPad USB Plus](https://www.sparkfun.com/products/14346)
13
15
14
-
### Notes
16
+
## Installation
17
+
<pre>
18
+
└───Arduino Installation
19
+
├───drivers
20
+
├───examples
21
+
├───hardware
22
+
│ ├───arduino
23
+
│ ├───tools
24
+
│ ├───<b>xinput</b>
25
+
│ └───<b>xinput_sparkfun
26
+
│ └───avr
27
+
│ ├───bootloaders
28
+
│ ├───cores
29
+
│ ├───libraries
30
+
│ └───variants</b>
31
+
├───java
32
+
├───lib
33
+
├───libraries
34
+
├───reference
35
+
├───tools
36
+
└───tools-builder
37
+
</pre>
38
+
39
+
To install, you first need to install the latest version of the Arduino XInput AVR Core, [which can be found here](https://github.com/dmadison/ArduinoXInput_AVR). Follow [the installation instructions](https://github.com/dmadison/ArduinoXInput_AVR/#installation) provided in that repository and verify that those boards are installed correctly before proceeding.
40
+
41
+
This boards package uses the same process for installation. Download [the latest version](../../releases/latest) of this repository to your PC. Navigate to the directory containing your Arduino installation, and then open up the 'hardware' folder. Extract the contents of the .zip file into this directory. You should have a new 'xinput_sparkfun' folder with an 'avr' folder inside of it, containing the files from this repository (see the tree view above).
42
+
43
+
Restart the Arduino IDE. If the SparkFun boards are installed correctly, you should see a new collection of "SparkFun AVR Boards w/ XInput" in the `Tools -> Boards` menu.
44
+
45
+
To uninstall, delete the 'xinput_sparkfun' folder in the 'hardware' directory, and then restart the Arduino IDE.
46
+
47
+
## Upload Warning and Instructions
48
+
49
+
**!!!!!!! IMPORTANT !!!!!!!**
50
+
51
+
Due to the nature of how the XInput USB mode works, Arduinos that have XInput sketches on them will ***not*** automatically reset when programmed by the IDE! You will need to reset the board by hand every time you upload new code.
52
+
53
+
[Full instructions for uploading are provided in the AVR Core repository](https://github.com/dmadison/ArduinoXInput_AVR/#upload-warning-and-instructions).
15
54
16
-
* Some boards such as the Arduino Pro and Pro Mini come in more than one flavor. For these **you must select the correct processor** in the 'Tools' menu.
17
-
* Information on compiling and programming the bootloaders can be found in the bootloaders directory.
55
+
**Do *not* upload XInput sketches to your Arduino unless you know how to reset it!** Otherwise you will not be able to program it anymore and you'll have to [reflash the bootloader](https://learn.sparkfun.com/tutorials/installing-an-arduino-bootloader/all) with an external programmer.
0 commit comments