R@mbln Reks / Mbed 2 deprecated class_finder

Dependencies:   4DGL-uLCD-SE Course SDFileSystem mbed PinDetect LSM9DS1_Library_cal MBed_Adafruit-GPS-Library

Files at this revision

API Documentation at this revision

Comitter:
kkizirian
Date:
Thu Dec 08 21:20:46 2016 +0000
Parent:
6:ceb6a5426add
Child:
8:3266cc9eda81
Commit message:
Added some display features

Changed in this revision

Course.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
--- a/Course.lib	Thu Dec 08 20:20:00 2016 +0000
+++ b/Course.lib	Thu Dec 08 21:20:46 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/41801/code/Course/#fe9fcb384036
+http://developer.mbed.org/teams/41801/code/Course/#f235174016c8
--- a/main.cpp	Thu Dec 08 20:20:00 2016 +0000
+++ b/main.cpp	Thu Dec 08 21:20:46 2016 +0000
@@ -83,9 +83,6 @@
 
     readClassFile(courseVec);
 
-    Course tempCourse("COC", 4, 00, "PM");
-    courseVec.push_back(tempCourse);
-
     gps_Serial = new Serial(p28,p27); //serial object for use w/ GPS
     Adafruit_GPS myGPS(gps_Serial); //object of Adafruit's GPS class
     char c; //when read via Adafruit_GPS::read(), the class returns single character stored here
@@ -210,6 +207,8 @@
                     break;
                 case 2:
                     //uLCD.cls();
+                    uLCD.locate(0,2);
+                    ulCD.printf("                ");
                     uLCD.locate(0,3);
                     uLCD.printf("Time to next class");
                     uLCD.locate(0, 4);
@@ -217,7 +216,7 @@
                     uLCD.locate(0, 5);
                     uLCD.printf("%02dseconds", secondsToNextClass);
                     uLCD.locate(0, 0);
-                    uLCD.printf("Next class");
+                    uLCD.printf("Next class        ");
                     if (nextClass != currClass) {
                         uLCD.locate(0, 1);
                         uLCD.printf("                     ");