![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
GPS and IMU reading works
Dependencies: mbed Servo SDFileSystem
main.cpp
- Committer:
- taoqiuyang
- Date:
- 2015-08-08
- Revision:
- 1:e7245ffb4820
- Parent:
- 0:f4d390c06705
- Child:
- 2:afb333543af5
File content as of revision 1:e7245ffb4820:
#include "mbed.h" Serial pc(USBTX, USBRX); // tx, rx Serial device(p28, p27); // tx, rx char buf[256]; int main() { device.baud(57600); while(1) { //if(device.readable()) { device.gets(buf, 256); pc.printf("%s\n", buf); // } } }