14 Commits
Author SHA1 Message Date
TinyuChiu fc1e5a78d7 Eliminate compilation warnings 2023-08-19 17:11:44 +08:00
Tinyu 7a6105bdea Code Format 2022-07-04 14:52:25 +08:00
Tinyu 651b42351a add tfcard example 2022-03-25 22:24:36 +08:00
Tinyu 05d3b7ddb3 fix 2021-08-20 16:40:22 +08:00
Tinyu c42ae455ad change 2021-08-20 11:58:46 +08:00
Tinyu abbac17a43 Add some comments 2021-07-23 17:10:46 +08:00
Tinyu 704c983caf change 2021-07-21 11:41:52 +08:00
Tinyu 39259d1519 add some explain 2021-07-21 11:29:45 +08:00
Tinyu 539c67b367 Changed some files 2021-07-16 11:47:54 +08:00
sakabin f9953af750 Add power api, Set battery charging init in M5.Power.begin()
1. Reduce  battery charging current to 650ma
2. Set battery charging voltage to 4.2v
2019-08-29 14:31:06 +08:00
Joey Babcock 27f25f243d Grammatical edits for clarity (#180) 2019-07-23 09:12:40 +08:00
nao 317f2a2f4f Add:power related functions (#160)
* 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
2019-05-05 15:36:14 +08:00
sakabin 7b2c8ded7e Fix sleep example
remove M5.Power.setKeepLightLoad()
2019-04-30 11:27:25 +08:00
Mori Naoyuki 24caf60851 Add lightSleep mode / upgrade deepSleep mode
-lightSleep-
*add function for LCD wakeup on LCD class
*add function for lightSleep on Power class

-deepSleep-
*add specification : re-startup time can be specified on deepSleep

-utillity-
*add function :you can get a reason for startup
 isResetbyWatchdog(),isResetbyDeepsleep(),isResetbySoftware(),isResetbyPowerSW();

-other-
*add attribution: deprecated function (because moved to Power class.)
  M5.setPowerBoostKeepOn(),M5.setWakeupButton(),M5.powerOFF()
*add sample scketch for sleep.
2019-03-23 18:52:08 +09:00