FlashAir Developers Summit OSAKA 2019 handson step2
Dependencies: mbed ADT7410 FlashAir_iSDIO SDFileSystem USBDevice
Revision 9:e4bd6b88187d, committed 2019-01-19
- Comitter:
- hogejun
- Date:
- Sat Jan 19 04:31:41 2019 +0000
- Parent:
- 8:49dfc9ab1950
- Commit message:
- disable debug output
Changed in this revision
FlashAir_iSDIO.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 49dfc9ab1950 -r e4bd6b88187d FlashAir_iSDIO.lib --- a/FlashAir_iSDIO.lib Sat Jan 19 03:35:31 2019 +0000 +++ b/FlashAir_iSDIO.lib Sat Jan 19 04:31:41 2019 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/teams/FlashAir-Developers/code/FlashAir_iSDIO/#dc888b9028cf +https://os.mbed.com/teams/FlashAir-Developers/code/FlashAir_iSDIO/#b8b33621e7fe
diff -r 49dfc9ab1950 -r e4bd6b88187d main.cpp --- a/main.cpp Sat Jan 19 03:35:31 2019 +0000 +++ b/main.cpp Sat Jan 19 04:31:41 2019 +0000 @@ -30,8 +30,9 @@ DigitalOut sM(P0_2,0); DigitalOut sDP(P1_25,0); DigitalOut SD_VEN(P1_16); -Serial console(P0_19, P0_18); // TX, RX -FlashAir_iSDIO sd(P0_21, P0_22, P1_15, P0_17, "sd", &console); // mosi(CMD), miso(DAT0), sclk(CLK), cs(DAT3) +//Serial console(P0_19, P0_18); // TX, RX +//FlashAir_iSDIO sd(P0_21, P0_22, P1_15, P0_17, "sd", &console); // mosi(CMD), miso(DAT0), sclk(CLK), cs(DAT3) +FlashAir_iSDIO sd(P0_21, P0_22, P1_15, P0_17, "sd"); // mosi(CMD), miso(DAT0), sclk(CLK), cs(DAT3) USBSerial serial; #ifdef USE_ADT7410 @@ -143,7 +144,7 @@ int main() { - console.printf("Hello FlashAIr_iSDIO_16seg_ADT7410\n"); + serial.printf("Hello FlashAir_iSDIO_16seg_ADT7410\n"); wait(1.0); SD_VEN = 1; // Initialize card