Simon Ford
/
PlayStationController
Diff: main.cpp
- Revision:
- 2:e3dd9a5cefa0
- Parent:
- 1:e4af215fb689
--- a/main.cpp Sun Nov 22 18:31:52 2009 +0000 +++ b/main.cpp Sun Nov 22 18:43:01 2009 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" -SPI spi(p24, p22, p21); // mosi, miso, sclk (or "command", "data", "clock") +SPI spi(p5, p6, p7); // mosi, miso, sclk (or "command", "data", "clock") DigitalOut cs(p25); // chip select (or "attention") // setup the controller in to analog mode