Skip to content

Commit

Permalink
Bug fix: with newer versions of the USB Host Shield we can't build un…
Browse files Browse the repository at this point in the history
…less SPI.h is explicitly included before PS3USB.h is included.
  • Loading branch information
raacampbell committed Jun 5, 2015
1 parent 1b11c0d commit 566c769
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Build_Instructions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ You can use only the serial port as the input device, but the PS3 dual shock is
This wiring diagram is also shown in our paper.


The libraries to interface with the DualShock are found here: https://github.com/felis/USB_Host_Shield_2.0. You will note that there are drivers for XBox and Wii controllers also. However, our code assumes a DualShock. You can plug the controller directly into the USB shield with a mini USB cable or you can use Bluetooth if you can find a compatible dongle.
The libraries to interface with the DualShock are found here: https://github.com/felis/USB_Host_Shield_2.0. You can also install via the library manager in the Arduino IDE. You will note that there are drivers for XBox and Wii controllers also. However, our code assumes a DualShock. You can plug the controller directly into the USB shield with a mini USB cable or you can use Bluetooth if you can find a compatible dongle.



Expand Down
1 change: 1 addition & 0 deletions OpenStage/a_includes.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//
// Load the libraries necessary to interface with the DualShock3 via the USB Host Shield.
// Can comment out the PS3USB if you also disable the PS3 gamepad in c_userSettings
#include <SPI.h>
#include <PS3USB.h> //see https://github.com/felis/USB_Host_Shield_2.0
#include <AccelStepper.h> //Control of stepper motors: http://www.airspayce.com/mikem/arduino/AccelStepper/
#include <LiquidCrystal.h> //Write to LCD display (https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home)
Expand Down

0 comments on commit 566c769

Please sign in to comment.