Version 1

Dependencies:   mbed m3pi_pops

Files at this revision

API Documentation at this revision

Comitter:
acab1312
Date:
Wed Jan 29 14:26:15 2020 +0000
Parent:
1:ef658023014b
Commit message:
PID Inclus; /Test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jan 08 10:43:48 2020 +0000
+++ b/main.cpp	Wed Jan 29 14:26:15 2020 +0000
@@ -2,8 +2,8 @@
 #include "m3pi.h"
 //#include "MSCFileSystem.h"
 
-//Serial usb(USBTX,USBRX);
-Serial usb(p28,p27);
+Serial usb(USBTX,USBRX);
+//Serial usb(p28,p27);
 
 DigitalOut l1(LED1);
 DigitalOut l2(LED2);
@@ -13,7 +13,7 @@
 m3pi m3pi;
 
 // Minimum and maximum motor speeds
-#define MAX 0.5
+#define MAX 0.4
 #define MIN 0
 
 // PID terms