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
Revision 18:da116273b461, committed 2017-10-28
- Comitter:
- tuba
- Date:
- Sat Oct 28 09:25:36 2017 +0000
- Parent:
- 17:a30fa71eddb7
- Commit message:
- final
Changed in this revision
| HeptaCamera_GPS.cpp | Show annotated file Show diff for this revision Revisions of this file |
| HeptaCamera_GPS.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/HeptaCamera_GPS.cpp Thu Oct 26 11:27:12 2017 +0000
+++ b/HeptaCamera_GPS.cpp Sat Oct 28 09:25:36 2017 +0000
@@ -721,6 +721,15 @@
flushSerialBuffer();
}
+void HeptaCamera_GPS::camera_setting(Baud baud)
+{
+ GPS_SW = 0;
+ CAM_SW = 1;
+ serial._baud(baud);
+ serial.setTimeout(1);
+ flushSerialBuffer();
+}
+
void HeptaCamera_GPS::Sync(void)
{
camera_setting();
--- a/HeptaCamera_GPS.h Thu Oct 26 11:27:12 2017 +0000
+++ b/HeptaCamera_GPS.h Sat Oct 28 09:25:36 2017 +0000
@@ -50,6 +50,7 @@
ErrorNumber getJpegSnapshotPicture_data();
void setmbedBaud(Baud baud);
void camera_setting(void);
+ void camera_setting(Baud baud);
void Sync(void);
void initialize(Baud baud,JpegResolution jr);
void test_jpeg_snapshot_picture(int CAPTURE_FRAMES);
