68 Commits
Author SHA1 Message Date
Tinyu 539c67b367 Changed some files 2021-07-16 11:47:54 +08:00
Sean 9a659eebf8 example add M5.Power.begin(); 2020-08-20 16:51:32 +08:00
prjh c7dc8e2efa Fix M5.Power.powerOFF() exception bug (#225)
* Fix M5Power.powerOFF() exception bug, adapt related example to new Power-API.

* wifi check better using esp_wifi_get_mode()
2020-08-18 09:25:36 +08:00
sorz 999adb395d Add button continuous long press method 2020-08-17 12:04:10 +08:00
Gitshaoxiang 78457b190e Rename example files (#217)
* rename some example file
* add Unit exmaple sketch comment
* add module example comment
2020-04-30 10:29:41 +08:00
vany5921 c88cf33e19 Update PowerOFF.ino 2020-01-09 15:41:45 +08:00
sakabin aa1645f1c8 Add BMM150 example 2019-11-22 20:37:36 +08:00
sakabin 2c038fc08f Add M5.IMU support 2019-09-02 17:22:02 +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
Asuki Kono 86bc4fa88d Remove settin wakeup button from poserOFF example 2019-06-23 00:07:12 +09:00
Asuki Kono f1b313c380 Use powerOFF on powerOFF example 2019-06-22 12:51:32 +09:00
Asuki Kono a729ee70f9 Update poser off example for new api. 2019-06-21 11:46:51 +09: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
Joey Babcock 36672a8c11 Made text less confusing for beginners
I added some grammatical fixes and better explanations so that the text is less confusing
2019-01-27 13:48:51 -08:00
LiHuashen 6b71dde1ba Revert "Revert "Merge branch 'master' of https://github.com/m5stack/M5Stack""
This reverts commit 774945df03.
2019-01-22 17:12:32 +08:00
LiHuashen 774945df03 Revert "Merge branch 'master' of https://github.com/m5stack/M5Stack"
This reverts commit 6bb8ab5f89, reversing
changes made to cc4a16bcfb.
2019-01-22 17:11:54 +08:00
Joey Babcock 72cfef1f19 Fix grammar in serial printouts 2019-01-02 11:52:25 -08:00
sakabin 72e7efd6bf Add Unit Example
add EXT_IO example
add Earth example
add Joystick example
fix Serial2 bug
2018-09-27 19:00:10 +08:00
0x1abin 20080d3946 fixed some examples cant compile 2018-07-20 17:37:05 +08:00
0x1abin 1c528d275e rm speark playmusic example 2018-07-03 09:42:46 +08:00
0x1abin 7e863fb993 updated latest eSPI version 2018-05-07 17:16:01 +08:00
Joey Babcock f660b1a554 Spelling, better comments on speaker example 2018-03-12 21:25:31 -07:00