![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Lab9
Dependencies: mbed HeptaBattery SDFileSystem HeptaCamera_GPS Hepta9axis HeptaTemp HeptaXbee
Diff: main.cpp
- Revision:
- 18:0f270fef8476
- Parent:
- 17:f12839296eb5
- Child:
- 19:6b1498bd5e19
diff -r f12839296eb5 -r 0f270fef8476 main.cpp --- a/main.cpp Fri Nov 17 03:34:52 2017 +0000 +++ b/main.cpp Sat Aug 25 10:59:23 2018 +0000 @@ -13,8 +13,8 @@ while(!pc.readable()) {} cam_gps.Sync(); cam_gps.initialize(HeptaCamera_GPS::Baud115200, HeptaCamera_GPS::JpegResolution320x240); - cam_gps.test_jpeg_snapshot_data(1); - FILE *fp = fopen("/sd/test0.txt", "r"); + cam_gps.test_jpeg_snapshot_picture("/sd/test.jpg"); + FILE *fp = fopen("/sd/test.txt", "r"); if(fp == NULL) { pc.printf("Could not open file for write\r\n"); } else {