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
TechMoveDXC.cpp@1:685f9717028d, 2015-04-17 (annotated)
- Committer:
- IKn0Ww
- Date:
- Fri Apr 17 19:25:08 2015 +0000
- Revision:
- 1:685f9717028d
- Parent:
- 0:6082686b6a61
- Child:
- 2:a12d19da681a
V1.2 Pinnummers zijn nu gedefineerd
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| IKn0Ww | 0:6082686b6a61 | 1 | #include "mbed.h" |
| IKn0Ww | 0:6082686b6a61 | 2 | |
| IKn0Ww | 1:685f9717028d | 3 | DigitalIn K1 (dp25); //Keuzeschakelaar stand 1: Sumo. |
| IKn0Ww | 1:685f9717028d | 4 | DigitalIn K2 (dp16); //Keuzeschakelaar stand 2: Straight line. |
| IKn0Ww | 1:685f9717028d | 5 | DigitalIn K3 (dp26); //Keuzeschakelaar stand 3: Service. |
| IKn0Ww | 1:685f9717028d | 6 | |
| IKn0Ww | 1:685f9717028d | 7 | AnalogIn SLV (dp9); //Sensor links voor. |
| IKn0Ww | 1:685f9717028d | 8 | AnalogIn SRV (dp10); //Sensor rechts voor. |
| IKn0Ww | 1:685f9717028d | 9 | AnalogIn SLA (dp11); //Sensor links achter. |
| IKn0Ww | 1:685f9717028d | 10 | AnalogIn SRA (dp13); //Sensor rechts achter. |
| IKn0Ww | 1:685f9717028d | 11 | |
| IKn0Ww | 1:685f9717028d | 12 | DigitalOut MLL (dp5); //Draairichting linker motor linksom. |
| IKn0Ww | 1:685f9717028d | 13 | DigitalOut MLR (dp6); //Draairichting linker motor rechtsom. |
| IKn0Ww | 1:685f9717028d | 14 | DigitalOut MRL (dp1); //Draairichting rechter motor linksom. |
| IKn0Ww | 1:685f9717028d | 15 | DigitalOut MRR (dp24); //Draairichting rechter motor rechtsom. |
| IKn0Ww | 1:685f9717028d | 16 | DigitalOut LED (dp28); //Indicatie LED. |
| IKn0Ww | 1:685f9717028d | 17 | |
| IKn0Ww | 1:685f9717028d | 18 | PwmOut ML (dp18); //PWM-signaal voor de linker motor. |
| IKn0Ww | 1:685f9717028d | 19 | PwmOut MR (dp2); //PWM-signaal voor de rechter motor. |
| IKn0Ww | 1:685f9717028d | 20 | |
| IKn0Ww | 1:685f9717028d | 21 | |
| IKn0Ww | 1:685f9717028d | 22 | int main() |
| IKn0Ww | 1:685f9717028d | 23 | { |
| IKn0Ww | 1:685f9717028d | 24 | |
| IKn0Ww | 1:685f9717028d | 25 | } |