Commit Graph

284 Commits

Author SHA1 Message Date
Joey Babcock da00a486ee Spelling corrections (#161) 2019-05-06 09:28:43 +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
EeeeBin fb3453a1d1 Merge pull request #158 from lovyan03/TFT_eSPI
Update to TFT_eSprite latest version 1.4.8 (2019/04/15)
2019-04-30 11:50:25 +08:00
sakabin 7b2c8ded7e Fix sleep example
remove M5.Power.setKeepLightLoad()
2019-04-30 11:27:25 +08:00
lovyan03 4f5f481fb7 Update to TFT_eSprite latest version 1.4.8 (2019/04/15) 2019-04-30 11:24:14 +09:00
EeeeBin e4731344ee Merge pull request #157 from lovyan03/Branch_TFT_eSPI
Fix: Sprite bug.
2019-04-30 10:03:16 +08:00
lovyan03 8928d7aaf8 Fix: Sprite bug. 2019-04-30 10:46:23 +09:00
EeeeBin 4b7b423b30 Merge pull request #152 from lovyan03/TFT_eSPI
Update to TFT_eSPI latest version 1.4.8 (2019/04/15)
2019-04-29 20:52:22 +08:00
EeeeBin 957088939c Merge pull request #154 from nmori/master
fix : MPU9250 I2C read mistake: (at #152)
2019-04-29 19:49:17 +08:00
Mori Naoyuki d880e1b60f * fix : Refactoring mistake: (at #152)
・Correct the mistake of judgment condition that occurred at refactoring
->Improve the situation that I2C communication function does not return the correct result
2019-04-27 17:58:24 +09:00
EeeeBin dce08f155e Merge pull request #153 from lovyan03/Speaker
Update: Speaker works even if you forget "M5.Speaker.begin()"
2019-04-27 15:10:08 +08:00
lovyan03 8c9b71f0d6 Update: Speaker works even if you forget "M5.Speaker.begin()" 2019-04-26 16:55:10 +09:00
lovyan03 7bed35c3e9 Update to TFT_eSPI latest version 1.4.8 (2019/04/15) and SMOOTH_FONT extension enabled. 2019-04-26 16:39:38 +09:00
zhouyangyale 2d68c6ca29 Update library.properties 0.2.6 2019-04-17 10:20:53 +08:00
zhouyangyale 4bbf82c12f Update library.json 2019-04-17 10:20:30 +08:00
lovyan03 7df04204d8 Modify: Suppress the mosquito noise that LCD backlight PWM emits. (#147)
Revert: "reduce noise" commit 59340bc4b9.
2019-04-17 10:17:13 +08:00
lovyan03 ad8509277c Fix: drawJpg doesn't work. (#146) 2019-04-15 09:27:17 +08:00
yalezy 59340bc4b9 reduce noise 2019-04-12 10:08:18 +08:00
nao 13674bfcae clean: fix coding style (#143)
* clean : integrate I2C communication functions.
*I2C integrate (power.cpp + MPU9250.cpp) -> move to CommUtil.cpp (Cadd CommUtil class.)
*add debug flag for I2C communication  (if use, defined I2C_DEBUG_TO_SERIAL in CommUtil.cpp)
*cleanup some comment and cords.(power.h)

Add :get a input key for M5Stack Faces
*add M5Faces.cpp and M5Faces class.

* Correction of rewriting mistakes

* Fix : refactoring code.
Modified to follow Arduino style guide as much as possible
*indent : 2spaces /tab
*format : UTF-8
*return : LF

* clean : integrate code format

* clean : integrate code format
*miss indent

* fix : replace to slash from '\' ( for multi-environment)

* fix:
*MPU9250.cpp : Correct the error of comment mark
*Sprite.cpp  : Fixed the problem that the number of parentheses does not match due to the pre-processing condition

* fix : Refactoring mistake: number of parentheses did not match
2019-04-12 09:41:12 +08:00
LiHuashen 2b5b04fd17 updated chinese description 2019-04-09 14:11:51 +08:00
nao 02a0470b63 clean : integrate I2C communication functions. (#136)
* clean : integrate I2C communication functions.
*I2C integrate (power.cpp + MPU9250.cpp) -> move to CommUtil.cpp (Cadd CommUtil class.)
*add debug flag for I2C communication  (if use, defined I2C_DEBUG_TO_SERIAL in CommUtil.cpp)
*cleanup some comment and cords.(power.h)

Add :get a input key for M5Stack Faces
*add M5Faces.cpp and M5Faces class.

* Correction of rewriting mistakes
2019-03-27 11:08:27 +08:00
yalezy fd73be5359 update 2019-03-25 17:31:09 +08:00
yalezy b3eed6f3a4 Merge remote-tracking branch 'origin/master' 2019-03-25 17:30:01 +08:00
yalezy 98298a0465 updata power.h 2019-03-25 17:04:55 +08:00
らびやん a9a91a8fba fix: TextFont 2 (Font16.c) backslash like slash. (#132) 2019-03-25 16:44:09 +08:00