Homework 1.1 turn off decimal on display

Fork of AMart_SSD447_HW1_1_slider_toSerial by AnnaLouise Martinez

Files at this revision

API Documentation at this revision

Comitter:
annalou
Date:
Sat Jan 21 20:21:49 2017 +0000
Parent:
11:4afb2276def1
Commit message:
added comment to code changed in slcd if statement for the dot

Changed in this revision

SLCD.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SLCD.cpp	Sat Jan 21 20:14:43 2017 +0000
+++ b/SLCD.cpp	Sat Jan 21 20:21:49 2017 +0000
@@ -158,6 +158,9 @@
 
     if (lbValue == '.') {
          //Use built-in dot
+         //the below function takes care of turning on or off
+         //the decimal point and when you change the second
+         //parameter to false it turns off the decimal point
         DP(CharPosition-1, false);
         return;
     }