A simple example for analog input and EPD usage.

Dependencies:   GDEP015OC1 acn_nrf52_saadc aconno_bsp

Fork of acd52832_3_Analog_In by aconno dev team

Revision:
3:4fb622e929d0
Parent:
2:4e505e17a701
Child:
4:f6f94ef38e6a
--- a/main.cpp	Thu Jun 29 09:38:47 2017 +0000
+++ b/main.cpp	Thu Jun 29 11:06:35 2017 +0000
@@ -25,7 +25,7 @@
     
     while(true){   
         epd.empty();
-        epd.write(); 
+        epd.writeFull(); 
         
         sprintf(buffer, "Battery: %4.0f", battery.read()*ADC_MAX_VALUE);     // Create a string
         epd.writeString(buffer,25,70,0);                        // Write new data to the buffer