271 Commits

Author SHA1 Message Date
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
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
らびやん bb567a7fcb Add setAutoBootOnLoad function. (#129)
* Add setAutoBootOnLoad function.
Refactoring Power.cpp

* Restore cr lf code.
2019-03-19 11:21:14 +08:00
siosio 57c19581d6 Update getting_started_ja.md
fix link
2019-03-14 10:10:09 +08:00
nao 1b222c0e7a Add:make "README.md" document for japanese (#128)
* Add:make "README.md" document for japanese

* Update getting_started_ja.md
2019-03-14 09:55:32 +08:00
LiHuashen cc76c506fc Update README.md 2019-03-14 09:45:59 +08:00
sakabin 33da9df4b1 Add battery level get 2019-03-12 10:26:34 +08:00
sakabin 5b96a85591 Fix power bug 2019-03-06 14:19:00 +08:00
nmori 356f5b2403 disable : batteryMode()function is a problem implementation (#126)
* disable : batteryMode()function is a problem with function implementation. Disable function tentatively

* power.c add notes
2019-03-06 10:47:38 +08:00
nmori ec72ed5b0a integrate to Power class. (#124)
*power function integrate to Power class.
*fixed M5.begin() : add I2C initialize flag.
*Check result after send I2C Request
*change method of send to power-ic register. (read->mask->write)
2019-03-04 14:57:10 +08:00
sakabin aed14af2e5 Merge pull request #120 from tevino/esp-idf
Make this repo a compatible component of ESP-IDF
2019-02-26 10:17:54 +08:00
an-erd 3168b3edee Update to TFT_eSPI (commit 33d9313) (#122)
* updated TFT_eSPI to #33d9313

* comment out to turn on backlight during TFT_eSPI::init()

* - remove speaker begin(), dispPOD uses ledc directly
2019-02-20 12:05:05 +08:00
Tevin Zhang 7c258d2846 Remove MPU9250 support 2019-02-02 13:41:19 +08:00
Tevin Zhang e23fbc055f Enable MPU9250 2019-01-31 01:33:16 +08:00