61 Commits

Author SHA1 Message Date
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
0x1abin d1ce59fd1e update driver url 2018-01-25 10:18:15 +08:00
0x1abin e08a7d7121 v0.1.4 2017-11-22 23:34:58 +08:00
0x1abin ebf8dea149 update the readme 2017-11-16 10:27:53 +08:00
0x1abin d2139cef7d update the readme.md 2017-10-27 11:24:59 +08:00
0x1abin 34c20717b0 mark 2017-10-19 11:59:17 +08:00
0x1abin 5b51f95491 update 2017-10-16 17:00:22 +08:00
0x1abin 8d13d29377 update v0.1.2 2017-10-11 17:09:55 +08:00