Team Design Project 3 / Mbed 2 deprecated TDP3_Robot_Control

Dependencies:   mbed

Revision:
3:d7bda2ab309d
Parent:
2:f0610c06721d
Child:
4:ace17b63da3c
--- a/main.cpp	Wed Jan 30 18:12:53 2019 +0000
+++ b/main.cpp	Wed Jan 30 18:14:58 2019 +0000
@@ -20,7 +20,7 @@
 DigitalOut myled(LED1); // Debug led
 
 //For the colour sensor
-I2C i2c(I2C_SDA, I2C_SCL); //pins for I2C communication (SDA, SCL)
+I2C i2c(PTC11, PTC10); //pins for I2C communication (SDA, SCL)
 
 
 
@@ -37,9 +37,6 @@
 AnalogIn QTR3A_1(A0);
 AnalogIn QTR3A_2(A1);
 AnalogIn QTR3A_3(A2);
-DigitalIn lineSensor1(PTA6);
-DigitalIn lineSensor2(PTA7);
-DigitalIn lineSensor3(PTA8);
 
 Serial bluetooth(PTE0,PTE1);