★ wanayoo — archive 1999 https://github.com/m5stack/M5Stack/pull/160Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add:power related functions #160

Merged
merged 7 commits into from May 5, 2019
Merged

Add:power related functions #160

merged 7 commits into from May 5, 2019

Conversation

@nmori
Copy link
Contributor

nmori commented May 1, 2019

Add function:
*setLowPowerShutdownTime : Add time setting until automatic power off
*powerOFF : Power off using the automatic power off function

nmori added 3 commits Apr 30, 2019
* Add a function to change the time setting register
* Add maximum time (64s) setting at initialization
 (If you prefer short time settings, set them yourself after initialization)
*setLowCurrentShutdownTime -> setLowPowerShutdownTime
*SleepTime -> ShutdownTime
*SLEEP_xxS -> SHUTDOWN_xxS

Add : powerOFF function
@nmori nmori changed the title Fix : Add: Addition of power related functions May 1, 2019
@nmori nmori changed the title Add: Addition of power related functions Add:power related functions May 1, 2019
nmori added 2 commits May 1, 2019
If you set the wakeup time, it will be reflected incorrectly even when it is not needed.
*setLowPowerShutdown() -> Add attribute
*setKeepLightLoad() -> Add attribute
@EeeeBin
Copy link
Member

EeeeBin commented May 2, 2019

hi, we are on vacation, it may take a few days to process :)

*Add a reference to the official document
@nmori
Copy link
Contributor Author

nmori commented May 3, 2019

thank you for the message. Is no problem. I wish you a good holiday.

@EeeeBin EeeeBin merged commit 317f2a2 into m5stack:master May 5, 2019
@EeeeBin
Copy link
Member

EeeeBin commented May 5, 2019

thanks :)

nmori added a commit to nmori/M5Stack that referenced this pull request Sep 15, 2019
* Addition: Shutdown time setting
* Add a function to change the time setting register
* Add maximum time (64s) setting at initialization
 (If you prefer short time settings, set them yourself after initialization)

* Add : powerOFF function

* Fix : Adjusted function name
*setLowCurrentShutdownTime -> setLowPowerShutdownTime
*SleepTime -> ShutdownTime
*SLEEP_xxS -> SHUTDOWN_xxS

Add : powerOFF function

* fix:Detailed setting of wakeup factor
If you set the wakeup time, it will be reflected incorrectly even when it is not needed.

* modify : Exclude functions that don't work properly
*setLowPowerShutdown() -> Add attribute
*setKeepLightLoad() -> Add attribute

* add : add Link
*Add a reference to the official document

* Modify sleep.ino comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.