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 34:09b48ae6ac49, committed 2019-02-01
- Comitter:
- hisyamfs
- Date:
- Fri Feb 01 13:36:38 2019 +0000
- Parent:
- 33:a45938695baf
- Commit message:
- ubah pin ira 6 jadi pc0;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Jan 31 12:30:22 2019 +0000
+++ b/main.cpp Fri Feb 01 13:36:38 2019 +0000
@@ -41,7 +41,8 @@
AnalogIn ira3(PC_2);
AnalogIn ira4(PC_3);
AnalogIn ira5(PB_1);
-AnalogIn ira6(PC_4);
+//AnalogIn ira6(PC_4);
+AnalogIn ira6(PC_0);
AnalogIn ira7(PA_6);
AnalogIn ira8(PA_7);
// bawah
@@ -131,7 +132,8 @@
// pc.printf("%.2f %.2f\n", dist_b2, dist_b3);
// pc.printf(" %.2f\n", dist_b4);
+ wait(0.5);
pc.printf("\033[2J\033[H");
- wait(0.5);
+
}
}