Final Project ES202 KANG TRUONG ADAMS / DREAMTEAM

Dependencies:   ContinuousServo Final Project ES202 KANG TRUONG ADAMS TCS3472_I2C Tach

Files at this revision

API Documentation at this revision

Comitter:
kingkang2
Date:
Thu Apr 19 14:20:23 2018 +0000
Child:
1:8a2bdbd69fba
Commit message:
code;

Changed in this revision

ContinuousServo.lib Show annotated file Show diff for this revision Revisions of this file
Final-Project-ES202-KANG-TRUONG-ADAMS.lib Show annotated file Show diff for this revision Revisions of this file
PROJECT.cpp Show annotated file Show diff for this revision Revisions of this file
TCS3472_I2C.lib Show annotated file Show diff for this revision Revisions of this file
Tach.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ContinuousServo.lib	Thu Apr 19 14:20:23 2018 +0000
@@ -0,0 +1,1 @@
+http://os.mbed.com/users/jdonnal/code/ContinuousServo/#d6371727ce0c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Final-Project-ES202-KANG-TRUONG-ADAMS.lib	Thu Apr 19 14:20:23 2018 +0000
@@ -0,0 +1,1 @@
+http://os.mbed.com/teams/Final-Project-ES202-KANG-TRUONG-ADAMS/code/Final-Project-ES202-KANG-TRUONG-ADAMS/#000000000000
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PROJECT.cpp	Thu Apr 19 14:20:23 2018 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "ContinuousServo.h"
+#include "Tach.h"
+#include "TCS3472_I2C.h"
+
+Serial pc(USBTX,USBRX);
+// color sensor
+TCS3472_I2C rgb_sensor( p9, p10 ); // Establish RGB sensor object
+// Hall effect sensor
+DigitalIn hall(p22);
+// sonar sensor
+AnalogIn sonar(p20); // range sensor 9.8 mV/inch
+//servos
+ContinuousServo left(p23);
+ContinuousServo right(p26);
+//encoders
+Tach tLeft(p17,64);
+Tach tRight(p13,64);
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TCS3472_I2C.lib	Thu Apr 19 14:20:23 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/karlmaxwell67/code/TCS3472_I2C/#6d5bb4ad7d6e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Tach.lib	Thu Apr 19 14:20:23 2018 +0000
@@ -0,0 +1,1 @@
+http://os.mbed.com/teams/USNA-ES202/code/Tach/#b17c9f1d9d5c