Camera Ver3
Dependencies: mbed HeptaBattery SDFileSystem HeptaCamera_GPS
Fork of Lab7-01_template by
main.cpp
- Committer:
- HEPTA
- Date:
- 2017-09-07
- Revision:
- 14:52fe0357f8b2
- Parent:
- 13:a1fa75a002f6
- Child:
- 17:1c3433f46c17
File content as of revision 14:52fe0357f8b2:
#include "mbed.h" #include "SDFileSystem.h" #include "HeptaCamera_GPS.h" Serial pc(USBTX,USBRX); SDFileSystem sd(p5, p6, p7, p8, "sd"); HeptaCamera_GPS cam_gps(p13, p14,p25,p24);//(tx,rx,camera switch,gps switch) int main() { pc.printf("Camera Snapshot Mode\r\n"); cam_gps.Sync(); cam_gps.initialize(HeptaCamera_GPS::Baud115200, HeptaCamera_GPS::JpegResolution320x240); cam_gps.test_jpeg_snapshot_picture(1); }