Mrodr-SSD645-HW-1

Dependencies:   SLCD TSI mbed

Fork of kl46z_btn_slider_toSerial by Stanley Cohen

Revision:
8:258608fb0ffb
Parent:
7:8f64ad5334ca
Child:
9:3761e140b7a6
--- a/main.cpp	Mon Oct 12 03:19:22 2015 +0000
+++ b/main.cpp	Mon Jan 23 05:51:06 2017 +0000
@@ -2,7 +2,6 @@
 #include "SLCD.h"
 #include "TSISensor.h"
 
-
 #define LEDON false
 #define LEDOFF true
 #define NUMBUTS 2
@@ -11,7 +10,7 @@
 #define LBUT PTC12  // port addresses for buttons
 #define RBUT PTC3
 #define DATATIME    200 //milliseconds
-#define LCDLEN      10
+#define LCDLEN      1000
 #define PROGNAME "kl46z_btn_slider_toSerial\r\n"
 
 // Cap slider interface
@@ -48,8 +47,7 @@
 
 // --------------------------------
  int main() {
-    float sliderValue = 0.0;
-    
+    float sliderValue = 0.0 * 100;
     pc.printf(PROGNAME);
     dataTimer.start();
     dataTimer.reset();