Simon Ford
/
PlayStationController
Revision 2:e3dd9a5cefa0, committed 2009-11-22
- Comitter:
- simon
- Date:
- Sun Nov 22 18:43:01 2009 +0000
- Parent:
- 1:e4af215fb689
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e4af215fb689 -r e3dd9a5cefa0 main.cpp --- 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