Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 3:d7bda2ab309d
- Parent:
- 2:f0610c06721d
- Child:
- 4:ace17b63da3c
diff -r f0610c06721d -r d7bda2ab309d main.cpp --- 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);