A simple example for analog input and EPD usage.
Dependencies: GDEP015OC1 acn_nrf52_saadc aconno_bsp
Fork of acd52832_Car_battery_ch by
Revision 3:4fb622e929d0, committed 2017-06-29
- Comitter:
- jurica238814
- Date:
- Thu Jun 29 11:06:35 2017 +0000
- Parent:
- 2:4e505e17a701
- Child:
- 4:f6f94ef38e6a
- Commit message:
- Full erase EPD added.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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
