No changes

Revision:
8:df979097cc71
Parent:
7:d0e445a97c60
Child:
9:4be9eeb39a36
--- a/sample_hardware.cpp	Wed Dec 06 15:57:58 2017 +0000
+++ b/sample_hardware.cpp	Thu Dec 07 15:28:16 2017 +0000
@@ -1,5 +1,6 @@
 #include "mbed.h"
 #include "sample_hardware.hpp"
+#include "Networkbits.hpp"
 
 #define RED_DONE 1
 #define YELLOW_DONE 2
@@ -24,6 +25,15 @@
 BMP280 sensor(D14, D15);
 #endif
 
+//LCD Driver (provided via mbed repository)
+//RS D9
+//E  D8
+//D7,6,4,2 are the 4 bit for d4-7
+TextLCD lcd(D9, D8, D7, D6, D4, D2); // rs, e, d4-d7
+
+//SD Card
+SDBlockDevice sd(PB_5, D12, D13, D10); // mosi, miso, sclk, cs 
+
 //POWER ON SELF TEST
 void post() 
 {
@@ -64,6 +74,16 @@
     printf("Pressure: %5.1f\n", humidity);
     #endif
     
+    //Display on LCD
+    redLED = 1;
+    lcd.cls();
+    lcd.printf("LCD TEST...");
+    wait(0.5);
+    redLED = 0;
+    
+    //Network test (if BOTH switches are held down)
+    networktest();
+    
     puts("**********POST END**********");
  
 }