dit is em
Dependencies: mbed
Diff: main.cpp
- Revision:
- 17:9bbd95969b6a
- Parent:
- 16:a9382753e8d6
--- a/main.cpp Tue May 16 14:07:43 2017 +0000 +++ b/main.cpp Wed May 17 09:54:57 2017 +0000 @@ -1,11 +1,11 @@ #include "mbed.h" -PwmOut motorleftspeed(D1); +PwmOut motorleftspeed(D6); PwmOut motorrightspeed(D7); -DigitalOut MotorL1pin (D13); -DigitalOut MotorL2pin (D0); -DigitalOut MotorR1pin (D12); -DigitalOut MotorR2pin (D11); +DigitalOut MotorL1pin (D12); +DigitalOut MotorL2pin (D11); +DigitalOut MotorR1pin (D10); +DigitalOut MotorR2pin (D9); AnalogIn Sensor1 (A1); AnalogIn Sensor2 (A2); AnalogIn Sensor3 (A3); @@ -17,6 +17,8 @@ DigitalOut stepperb (D3); DigitalOut stepperc (D4); DigitalOut stepperd (D5); +DigitalIn knop(D8); +DigitalOut led(D1); Ticker lidar;