Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed FATFileSystem
Fork of FTE-06 by
Diff: main.cpp
- Revision:
- 33:738f8e949916
- Parent:
- 31:72b9758ea14b
- Child:
- 34:5fa0b3aa75c9
--- a/main.cpp Sun Aug 20 23:40:57 2017 +0000 +++ b/main.cpp Sun Aug 20 23:50:09 2017 +0000 @@ -30,6 +30,7 @@ #define conv2Gravity 10./(32768./Acc_range)/9.8//加速度センサの値の単位をGに変換 #define AT24C1024_address 0x50 #define eeprom_byte_size 10000 +#define im920_serial_baudrate 19200 DigitalOut myled1(LED1); DigitalOut myled2(LED2); @@ -57,7 +58,7 @@ _24LCXXX eeprom(&E,AT24C1024_address);//eepromのクラス GPS sGPS(p13,p14);//GPSのクラス Serial pc(USBTX, USBRX); -IM920 Im920(p28,p27,p16,p15,19200);//無線通信用のserialクラス +IM920 Im920(p28,p27,p16,p15,im920_serial_baudrate);//無線通信用のserialクラス Servo myservo(p21);//サーボ用のクラス int status=0;

