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.
Dependencies: mbed ADS1115 StepperMotor SRF05 TPA81new
Revision 43:b82c19d0c6a9, committed 2019-02-11
- Comitter:
- hisyamfs
- Date:
- Mon Feb 11 15:47:23 2019 +0000
- Parent:
- 42:3b682b7d0388
- Child:
- 44:49ef8addf233
- Commit message:
- test sebelum video
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Feb 11 12:49:36 2019 +0000
+++ b/main.cpp Mon Feb 11 15:47:23 2019 +0000
@@ -102,11 +102,11 @@
pc.printf("temp rata2 = %.2f", sum_temp/AMG88xx_PIXEL_ARRAY_SIZE);
// UVTron
- uv.Read();
- int read = uv.Flag;
- if (read) pc.printf("FIRE DETECTED\n");
- else pc.printf("NOT DETECTED\n");
- wait(0.5); // 200 ms
+// uv.Read();
+ //int read = uv.Flag;
+// if (read) pc.printf("FIRE DETECTED\n");
+// else pc.printf("NOT DETECTED\n");
+// wait(0.5); // 200 ms
// Relay
relay = 0;