Comments (5)
M5.Display.powerSaveOn()
should do the same as powerHVON()
in the CoreInk library.
However, it does not include a delay.
Hence, you may want to wait a few seconds after executing M5.Display.powerSaveOn()
before turning off the power.
from m5unified.
Hello, @patfelst . Thanks for letting me know.
Perhaps executing the following command before going to sleep will solve the problem.
M5.Display.powerSaveOn();
from m5unified.
Thanks just tried but it doesn't seem to make any difference, but I think my current problem is I cannot turn off the CoreInk properly to reset the display. As far as I can tell M5.Power.powerOff()
puts the device in deep sleep (I might be wrong) and pressing reset button on back of CoreInk just, well, resets it.
from m5unified.
The M5.Power.powerOff()
function operates to turn off power by setting the power hold pin LOW.
CoreInk is deepSleep because the power does not turn off while USB power is being supplied due to circuit specifications.
If the USB is not connected, the power should turn off.
from m5unified.
thanks yes that works to power down the device - ie remove USB power and .powerOff()
I'm not sure what fixed it but I did the following and it looks ok again now:
- added
M5.Display.powerSaveOn()
before entering deep sleep - changed the display rotation
- played with turning the CoreInk power off (I don't think this played a part now)
- changed display mode from
M5.Display.setEpdMode(epd_mode_t::epd_text)
toM5.Display.setEpdMode(epd_mode_t::epd_fast)
Before I close, what does M5.Display.powerSaveOn()
actually do?
Thanks for your help!
from m5unified.
Related Issues (20)
- Cracking sound on speaker using the "M5CoreS3-Esphome/voice-assistant" HOT 2
- M5Core2 Power LED HOT 8
- Customised buttons HOT 1
- M5Capsule cannot be detected corretly HOT 2
- Setting text color on LCD prevents breaks text output HOT 1
- M5 Core2 v1.1 power LED HOT 1
- changing font HOT 1
- What does it do? AXP2101_Class::setReg0x20Bit0(bool flg) HOT 2
- can't ring the speaker of M5Stack CoreS3 with esp-idf HOT 5
- Unit Mini OLED display does not work with M5Stamp-Pico HOT 3
- S3 family compilation error: unused variable when compiler_warnings=all HOT 1
- H/W infomationにS3系新機種がない HOT 1
- AXP2101_Class.cpp not fully implemented HOT 2
- AtomS3 Button not defined in M5Unified.h HOT 4
- M5unified and boot/flash encryption HOT 2
- IDF 5.1/Arduino 3.0 support: legacy adc driver migration missing causing a boot crash if an ADC input is used HOT 3
- IDF 5.1/Arduino 3.0 support: M5.Speaker methods, camera input broken (CoreS3)
- M5Paper wakes too soon from deep sleep when touch wakeup is enabled - with solution HOT 2
- Minimalist configuration using M5Unified and BluetoothA2DPSink HOT 3
- M5CoreS3 speaker issue HOT 2
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 m5unified.