Commit Graph

163 Commits

Author SHA1 Message Date
lewisxhe
d693bccf28 Update V2 definition & example 2021-01-28 17:32:20 +08:00
lewisxhe
c34776058e Update docs and V2 pin definition 2021-01-28 17:06:55 +08:00
lewisxhe
c319375369 Add Twatch-V2, Twatch-V3 BMA423 different mapping 2021-01-25 09:20:57 +08:00
lewisxhe
69c95dda66 Added TBlock V1 support 2021-01-12 14:13:45 +08:00
lewisxhe
1a7449ad85 Add board definition and partial updates, see CHANGELOG for details 2021-01-05 14:18:04 +08:00
lewisxhe
2e8b6bc40f Repair warning 2021-01-03 17:55:13 +08:00
lewisxhe
157901f5a9 Add Air530 driver for 2020-12-29 09:35:07 +08:00
lewisxhe
4be1acbfcd DRV2605 is enabled by default in the V2 version 2020-12-14 16:52:17 +08:00
lewisxhe
07c33e6ed6 Added DRV2605 enable for V2 2020-12-10 17:41:17 +08:00
lewisxhe
14062655bd Turn on Twatch 2019 interrupt function 2020-12-09 15:31:48 +08:00
lewisxhe
acad456086 Remove duplicate definitions 2020-12-03 10:41:52 +08:00
lewisxhe
a4fa2f22bb Update lvgl to 7.7.2 2020-12-01 09:41:46 +08:00
lewisxhe
94d27b8016 Added getBackLight 2020-11-24 08:57:25 +08:00
lewisxhe
803075f30f Added Drv enable 2020-11-21 08:44:43 +08:00
lewisxhe
1ac3fcff15 Update GC9A01A driver 2020-11-19 15:53:53 +08:00
lewisxhe
55199d7054 Added GC9A01A driver 2020-11-19 15:44:20 +08:00
lewisxhe
ccbd86ff5d Set LDO2 default 3.3V 2020-11-18 16:15:49 +08:00
lewisxhe
bb2110289f Added GDEP015OC1 example 2020-11-11 15:02:32 +08:00
lewisxhe
ecf751d151 Adapt to 2020 new touch panel 2020-11-07 14:05:34 +08:00
lewisxhe
de234374d7 Added DRV2605 examples 2020-11-06 14:38:23 +08:00
lewisxhe
3c3e3a4fcb Added TFT_eSPI writeIndexedPixelsDouble func 2020-11-04 11:08:51 +08:00
lewisxhe
293260c37b Added TFT_eSPI writeIndexedPixels func 2020-11-03 14:32:42 +08:00
lewisxhe
5e23d0b7d7 Added axp202&bma423 interrupt registered function 2020-10-23 21:46:24 +08:00
lewisxhe
5c82e59f0b Add a method to turn off touch interrupt and turn on 2020-10-19 15:06:07 +08:00
lewisxhe
841dacb11d Add missing macro 2020-10-16 09:29:03 +08:00
lewisxhe
6256cb295a Added 2020V2 touch wakeup method 2020-10-13 13:52:43 +08:00
lewisxhe
7d98e0a57d Remove unnecessary source files 2020-10-13 12:01:51 +08:00
lewisxhe
630d5ca2c1 Change Twatch 2020 lvgl touch to interrupt polling method 2020-10-13 11:42:38 +08:00
lewisxhe
0c2f8ef2cf Update documentation 2020-10-12 10:23:10 +08:00
lewisxhe
d2aebf2d03 Added V2 feature 2020-10-12 09:23:59 +08:00
lewis he
44bacde1ae Merge pull request #85 from destroyedlolo/patch-1
Avoid prototyping warning
2020-10-05 12:56:15 +08:00
destroyedlolo
8149478959 Avoid prototyping warning
ps_malloc() is not defined and create a compilation warning.
Worst, it's preventing compilation if the compiler is set in strict mode.
2020-10-04 14:22:12 +02:00
Stephen Denne
6a1216eff3 Revert "Use I2CBus class for touch communication if LILYGO_WATCH_HAS_TOUCH_I2CBUS defined"
This reverts commit 0dad590d0f.
2020-10-04 21:34:48 +13:00
Stephen Denne
0dad590d0f Use I2CBus class for touch communication if LILYGO_WATCH_HAS_TOUCH_I2CBUS defined 2020-10-04 16:37:44 +13:00
Stephen Denne
cb00c190fb tab to spaces 2020-10-02 20:08:40 +13:00
Stephen Denne
ed0cfb8ba6 Merge remote-tracking branch 'origin/master' into focaltech_features 2020-10-02 19:50:21 +13:00
Stephen Denne
5e3fa3e569 Missing defines, swapped int mode 2020-10-02 19:49:18 +13:00
lewisxhe
1425ca09f1 Eliminate warning 2020-09-29 15:28:16 +08:00
lewisxhe
fa44ed92ce Added lvgl png decoder 2020-09-29 15:25:29 +08:00
lewisxhe
49ceb4b1f2 Added V2 new features 2020-09-28 18:22:02 +08:00
Stephen Denne
062cea4de9 Expose more focaltech features 2020-09-27 16:04:56 +13:00
Stephen Denne
fb3ac913f3 Correct bma temperatures less than 23 degrees
An unsigned 8 bit int needs to be treated as a signed 8 bit int before the extension to a 32 bit signed int.
2020-09-25 17:18:11 +12:00
lewisxhe
fb27980ed4 Update ft6xxx driver 2020-09-24 16:40:07 +08:00
lewisxhe
6a473750c9 Update GT911 driver 2020-09-24 15:39:34 +08:00
Jakub Vesely
ecb146c25e bugfixes:
1) the check `if (2000 - year  - (year % 100))` is wrong and actually too
complicated. the correct condition should be `if (2000 - year  + (year % 100))`
or `if (2000 - (year  - (year % 100)))` but in base of the pcf8563 data-sheet
the behavior of the C flag is simple `0 indicates the century is 20xx, 1
indicates the century is 19xx`. I guess the condition `if ( year < 2000)`
is exactly what should be checked.

2) tm structure used in syncToRtc provides year from 1900 that means, for
the year 2020 is provided number 120. Function getDayOfWeek used in
setDateTime expects year in full format and therefore is set a wrong day
of week to RTC. It can cause starting of alarm in wrong day.
2020-09-22 15:09:56 +02:00
lewis he
4239d9c3ac Merge pull request #77 from datacute/getTemp
Correcting #76 internal temperature offset
2020-09-21 14:57:47 +08:00
lewis he
60d7d7c4ca Update gps power on 2020-09-21 14:45:13 +08:00
Stephen Denne
f7756eca86 Correcting #76 internal temperature offset 2020-09-20 14:05:42 +12:00
lewis he
2bdae2b3fd Rename RTC_INT to RTC_INT_PIN 2020-09-19 16:38:22 +08:00
lewis he
94388c2af5 Remove old FT5206 files 2020-09-19 16:36:26 +08:00