PES opdracht
Dependencies: FastPWM MODSERIAL QEI mbed
Revision 1:a602cde74178, committed 2018-10-15
- Comitter:
- s1680897
- Date:
- Mon Oct 15 10:35:37 2018 +0000
- Parent:
- 0:55255afaa7a4
- Commit message:
- assignment 1, geeft nog compile error
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FastPWM.lib Mon Oct 15 10:35:37 2018 +0000 @@ -0,0 +1,1 @@ +http://os.mbed.com/users/Sissors/code/FastPWM/#c0b2265cff9c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MODSERIAL.lib Mon Oct 15 10:35:37 2018 +0000 @@ -0,0 +1,1 @@ +http://os.mbed.com/users/AjK/code/MODSERIAL/#ae0408ebdd68
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/QEI.lib Mon Oct 15 10:35:37 2018 +0000 @@ -0,0 +1,1 @@ +http://os.mbed.com/users/aberk/code/QEI/#5c2ad81551aa
--- a/main.cpp Mon Oct 15 10:25:05 2018 +0000 +++ b/main.cpp Mon Oct 15 10:35:37 2018 +0000 @@ -59,7 +59,7 @@ if (u <= 0) { motor1_richting = 0; - motor1_pwm.write(-AnalogVoltage1); //write Duty cycle + motor1_pwm.write(-u); //write Duty cycle } if (u >= 0)