PES opdracht

Dependencies:   FastPWM MODSERIAL QEI mbed

Files at this revision

API Documentation at this revision

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

FastPWM.lib Show annotated file Show diff for this revision Revisions of this file
MODSERIAL.lib Show annotated file Show diff for this revision Revisions of this file
QEI.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- /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)