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
Diff: TechMoveDXC.cpp
- Revision:
- 1:685f9717028d
- Parent:
- 0:6082686b6a61
- Child:
- 2:a12d19da681a
diff -r 6082686b6a61 -r 685f9717028d TechMoveDXC.cpp
--- a/TechMoveDXC.cpp Fri Apr 17 18:52:28 2015 +0000
+++ b/TechMoveDXC.cpp Fri Apr 17 19:25:08 2015 +0000
@@ -1,6 +1,25 @@
#include "mbed.h"
-DigitalOut MLL (dp5); //Draairichting linker motor linksom
-DigitalOut MLR (dp7); //Draairichting linker motor rechtsom
-DigitalOut MRL (dp1); //Draairichting rechter motor linksom
-DigitalOut MRR (dp24); //Draairichting rechter motor rechtsom
+DigitalIn K1 (dp25); //Keuzeschakelaar stand 1: Sumo.
+DigitalIn K2 (dp16); //Keuzeschakelaar stand 2: Straight line.
+DigitalIn K3 (dp26); //Keuzeschakelaar stand 3: Service.
+
+AnalogIn SLV (dp9); //Sensor links voor.
+AnalogIn SRV (dp10); //Sensor rechts voor.
+AnalogIn SLA (dp11); //Sensor links achter.
+AnalogIn SRA (dp13); //Sensor rechts achter.
+
+DigitalOut MLL (dp5); //Draairichting linker motor linksom.
+DigitalOut MLR (dp6); //Draairichting linker motor rechtsom.
+DigitalOut MRL (dp1); //Draairichting rechter motor linksom.
+DigitalOut MRR (dp24); //Draairichting rechter motor rechtsom.
+DigitalOut LED (dp28); //Indicatie LED.
+
+PwmOut ML (dp18); //PWM-signaal voor de linker motor.
+PwmOut MR (dp2); //PWM-signaal voor de rechter motor.
+
+
+int main()
+{
+
+}
\ No newline at end of file