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.
Dependents: 3daf572bcae1 Team Team01_HEPTA_Trainig
Fork of HeptaCamera_GPS by
Diff: HeptaSerial.h
- Revision:
- 7:a41100627f55
- Parent:
- 6:c11f48bbb567
--- a/HeptaSerial.h Sat Aug 05 13:36:04 2017 +0000
+++ b/HeptaSerial.h Sat Aug 05 14:20:51 2017 +0000
@@ -39,7 +39,7 @@
High = 0xff
};
- HeptaSerial(PinName tx, PinName rx);
+ HeptaSerial(PinName tx, PinName rx, PinName CAM, PinName GPS);
~HeptaSerial();
@@ -48,6 +48,7 @@
ErrorNumber getJpegSnapshotPicture();
ErrorNumber getJpegSnapshotPicture_data();
void setmbedBaud(Baud baud);
+ void camera_setting(void);
void Sync(void);
void initialize(Baud baud,JpegResolution jr);
void test_jpeg_snapshot_picture(int CAPTURE_FRAMES);
@@ -62,6 +63,8 @@
private:
SerialBuffered serial;
+ DigitalOut CAM_SW;
+ DigitalOut GPS_SW;
static const int COMMAND_LENGTH = 6;
static const int SYNCMAX = 60;
static const int packageSize = 256;
