starting integration with XBee
Dependencies: SDFileSystem mbed
Revision 4:70411c8dadcc, committed 2016-03-22
- Comitter:
- jphbergeson
- Date:
- Tue Mar 22 17:08:13 2016 +0000
- Parent:
- 3:c611fff05072
- Commit message:
- Publishing
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c611fff05072 -r 70411c8dadcc main.cpp --- a/main.cpp Tue Mar 15 17:52:05 2016 +0000 +++ b/main.cpp Tue Mar 22 17:08:13 2016 +0000 @@ -20,8 +20,12 @@ // Fifo_cs (#3) -> PTB23 // Trigger (#13) -> PTA2 +// spi_cs (#10) -> PTC2 + SPI spi(PTD2, PTD3, PTD1); // mosi, miso, sclk +DigitalOut spi_cs(PTC2); + DigitalIn pixel_rdy(PTA1); DigitalOut fifo_cs(PTB23); DigitalOut trigger(PTA2);