Comments (2)
Hi @uolot
from the M5Paper schematics there should be no difference about whether RTC (timer or alarm) or the power button is powering on the device. (I cannot test that myself as my M5Paper hasn't arrived yet.)
As an experiment, have you tried a timer wakeup using something like M5.shutdown(5)
? Does that work as expected, i.e. wake up M5Paper after about 5 seconds?
BTW: judging from the picture on the back of the M5Paper the reset button has two functions depending on whether M5Paper is running from battery or USB. (Battery: turn off / USB: reset). So if your M5Paper is running from battery and in shutdown mode (turned off) already, pressing the reset button will do nothing.
Thanks
Felix
from m5epd.
I'm having a similar issue for a simple clock application that sleeps most of the time and wakes up once a minute and updates the time. Here are some steps that I did:
- When the device wakes up I'm checking
M5.BtnP.isPressed()
and using it to distinguish between a manual turn on (the button is pressed) and an RTC wakeup, in which the button is not pressed. - I connected a LED to G32 to see when the RTC triggers and the device is turned on.
However, I'm stuck on the issue of how to send drawing commands to the EPD without doing M5.EPD.Clear(true)
. I.e. I'd like to update only a small region where I'm displaying the clock digits without clearing the whole screen. If I don't do M5.EPD.Clear()
then there is garbage left in the display. Is there any solution to this?
from m5epd.
Related Issues (20)
- font_render.c ERROR on Arduino 1.8.12 HOT 1
- Image2gray.py alternative version with more "features" HOT 3
- BM8563 wakeup from time HOT 3
- Random crash when drawing PNG at src/utility/pngle.c:859 HOT 1
- M5EPD_Canvas copy / assignment causes crash. HOT 2
- the shutdown() function isn't working for me. HOT 3
- Confusion about power modes HOT 2
- textWidth return 0 if TTF loaded HOT 1
- QR Code - Core 1 panic : when size > 26. HOT 1
- Deep sleep support HOT 1
- Arduino Compile Errors HOT 1
- TextWrap doesn't seem to work HOT 1
- Please make a new release of this Library HOT 2
- Mac OS Big Sur serial issue tracked down to USB controller: NOT CP2104 but CH9102 HOT 5
- How to get/calculate battery status? HOT 1
- M5EPD.cpp error HOT 3
- Q: What is the correct BMP bitmap format? HOT 3
- M5paper stuck in - M5EPD initializing...OK - loop HOT 4
- GT911 - Interrupt disabling causes target reset HOT 1
- How to use unified library and power functions with Paper EPD HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m5epd.