2017年3月,伊豆大島共同打上実験 CORE_缶ロケチーム電装
Dependencies: MPU6050 MS5607 mbed SDFileSystem
Diff: main.cpp
- Revision:
- 10:c1d1ff35a6a1
- Parent:
- 8:a9e115560ba3
- Child:
- 11:b61d0fcc2ed3
diff -r a9e115560ba3 -r c1d1ff35a6a1 main.cpp --- a/main.cpp Thu Feb 23 12:47:00 2017 +0000 +++ b/main.cpp Thu Feb 23 15:05:50 2017 +0000 @@ -67,7 +67,7 @@ DigitalIn sw(p21); BusOut myled(LED1,LED2,LED3,LED4); SDFileSystem sd(p11, p12, p13, p14, "sd"); -Serial pc(USBTX, USBRX); +Serial device(USBTX, USBRX); PwmOut Door_1_1(p23); PwmOut Door_1_2(p24); PwmOut Door_2_1(p25); @@ -189,7 +189,7 @@ Door_2_1.pulsewidth(motion); Door_2_2.pulsewidth(motion); }else{ - pc.printf("error\r\n"); + device.printf("error\r\n"); } }