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.
Diff: Test.cpp
- Revision:
- 0:41beaa66228b
- Child:
- 1:fe268cc6317a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Test.cpp Tue Feb 04 10:05:02 2020 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+
+PwmOut Motor1 (A5);
+PwmOut Motor2 (A3);
+InteruptIn Sensor1 (A0,PullDown);
+InteruptIn Sensor2 (A1,PullDown);
+InteruptIn Sensor3 (A2,PullDown);
+InteruptIn Sensor4 (A6,PullDown);
+AnalogOut OVER (A4);
+DigitalOut LED (D8);
+DigitalOut Motor1Voor (D12);
+DigitalOut Motor1Achter (D11);
+DigitalOut Motor2Voor (D10);
+DigitalOut Motor2Achter (D9);
+void Kijk()
+{
+ if (Sensor1 = 0.5) {
+ Motor
+ int main()
+
+ while(1) {