Camera With Xbee
Dependencies: Hepta9axis HeptaBattery HeptaCamera_GPS HeptaTemp HeptaXbee SDFileSystem mbed
Fork of Lab7-01_template by
Diff: main.cpp
- Revision:
- 18:0f270fef8476
- Parent:
- 17:f12839296eb5
- Child:
- 19:6b1498bd5e19
--- 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 {