Commit Graph

142 Commits

Author SHA1 Message Date
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
lewis he
4b3c30f1ea Update touchscreen driver , supoort gt911 2020-09-19 16:33:15 +08:00
lewis he
e5414d21c0 Added lvgl fs example 2020-09-18 18:01:01 +08:00
lewis he
816bd77585 Added ILI9481 Support 2020-09-17 09:25:04 +08:00
NorthernDIY
d5143c389b Bugfix: Incorrect power registry defined in FT5206.h 2020-09-10 15:57:13 -05:00
lewis he
31b37cc5d4 remove dbg print 2020-09-10 18:17:42 +08:00
lewis he
4fbe6cdf68 Added U8g2 for TFT_eSPI 2020-09-10 18:03:56 +08:00
lewis he
844f261799 Update lilypi example 2020-09-10 17:12:01 +08:00
lewis he
d78bebeba1 Add new features of twatch 2020 v2 2020-09-10 15:45:23 +08:00
lewis he
8b6e9f93db fix compilation warning 2020-08-31 12:08:48 +08:00
lewis he
227cb3926b Update watch v2 pin name 2020-08-31 12:05:23 +08:00
lewis he
28dbc338ee Merge pull request #68 from sharandac/master
allows lvgl to use psram if it is available
2020-08-31 09:47:23 +08:00
lewis he
b7b062fa10 Add lvgl double cache option, you can customize lvgl cache size 2020-08-31 09:44:24 +08:00
Dirk Broßwick
f97b519ce9 allows lvgl to use psram if it is available
lvgl consumes relatively much memory during intensive use. the change allows lvgl to use psram and saves internal ram.
2020-08-29 12:39:59 +02:00
lewis he
b1c5dcea4e Clean up redundant files 2020-08-27 17:56:24 +08:00
lewis he
01f916efce Clean up redundant files 2020-08-27 17:52:00 +08:00
lewis he
cd58677d2d Defining TWATCH_USE_PSRAM_ALLOC_LVGL will disable DMA 2020-08-27 17:13:14 +08:00
lewis he
dd8ba9f108 fix lilypi define 2020-08-27 17:11:07 +08:00
lewis he
16de81b53f Add e-paper dependency as part of the component and update the e-paper example 2020-08-27 15:23:19 +08:00
lewis he
014be5e54a Compatible with MY-TTGO-TWATCH https://github.com/sharandac/My-TTGO-Watch 2020-08-27 11:52:44 +08:00
lewis he
ad5b77bf00 Added GDEW0371W7 ePaper driver and update examples 2020-08-26 18:23:58 +08:00
lewis he
581c31ab56 Update lilygo sdcard test 2020-08-24 16:33:39 +08:00