Raphael Coeffic and Raphael Coeffic
bc6c53681c
Move Horus GT911 driver to HAL
2022-06-25 16:09:04 +02:00
Wilhelm and GitHub
7a6d6239b5
feat(X12S): Add support for touch screen mod ( #1779 )
...
Adds support of RadioMaster TX16S touch screen on FrSky X12S radio.
2022-04-23 12:22:47 +02:00
Malte Langermann and GitHub
9e285b3cb2
[touch] Fix hardware touch diagnostics regression ( #1314 )
...
* fix touch screen test in analog input test screen
* remove #if SIMU check for touch test
* remove unneeded trace
2021-12-30 11:46:10 +10:00
gagarinlg and Peter Feerick
ced9df9510
started implementing backlight tracking (unfinished)
...
horus touch driver internally tracks touch state and returns the state on read to make in independed of the mainwindow touchState
2021-11-16 11:21:04 +10:00
rotorman and Risto
fc2142ec78
Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it).
2021-10-02 14:22:01 +02:00
rotorman
ef08fc019f
Incremented GT911 configuration with +1 and stopped writing it to GT911 on init/start if the same version has already been flashed to GT911 (as previously).
2021-07-18 11:32:14 +02:00
rotorman
8bfbb723f3
Integrated STM32F4 I2C HAL functions.
...
Changed old "I2C_SPEED" to "I2C_CLK_RATE" in order not to conflict with HAL.
Use TOUCH_INT again to gate touch sampling.
2021-07-15 19:25:31 +02:00
Raphael Coeffic
068c1a0f11
Renamed "hiccups" to "TSI2CEvents"
...
And use uint32_t for counting them.
2021-07-12 08:58:54 +02:00
Raphael Coeffic
52acfcd20d
Quick & dirty polling mode (don't care about INT line)
2021-07-11 17:43:31 +02:00
rotorman and Raphael Coeffic
8c7f3cecec
* removed red LED
...
* added GT911 fw version and hiccup cound output to analogs page
* changed I2C to 400 kHz
* changed X Y threshold to 1
* added trace output
* fixed bool / uint8_t errors
2021-07-11 13:04:13 +02:00
rotorman and Raphael Coeffic
2c65b21355
Based on PR #408 ff34616 that according to @rcvideoreviews on Discord works.
...
Added:
* @olliw42 PR #415 STOP condition fix.
* @raphaelcoeffic EXTI_Trigger_Rising
* fixed some uint8_t bool confusions
* added volatile to touchEventOccured that is set from ISR and accessed from main code
* changed to upload GT911 config also if config version is the same
2021-07-11 13:04:13 +02:00
Raphael Coeffic and Raphael Coeffic
4667b29698
[color] fix attempt for GT911 touch sensor driver
...
This fix contains 2 modifications:
- poll GT911_READ_XY_REG for 20ms in case not yet ready
- write 0 to GT911_READ_XY_REG in all cases
These fixes are largely inspired from the Linux GT9xx driver (see https://gitlab.com/AdyaAdya/goodix-touchscreen-linux-driver/-/blob/master/goodix.c )
2021-07-03 08:16:33 +02:00
Raphael Coeffic
0011eebffa
Fix attempt for locked touch
...
Thx Jakub!
2021-06-20 19:00:48 +02:00
norulers and Raphael Coeffic
5e03b762ea
Update gt911 config version
2021-06-15 09:53:13 +02:00
Bertrand Songis
42a3198568
Merge with latest 2.3
2020-10-07 21:01:45 +02:00
3djc and GitHub
02c4886525
Move to proper I2C handling ( #7848 )
...
* Rework I2C handling
2020-07-28 19:21:33 +02:00
3djc and GitHub
6a5aa60a76
rework touch panel driver ( #7803 )
...
* Hardware I2C support
2020-07-07 21:14:46 +02:00
3djc
396ebf27b5
TX16S 2.4 touch support
2020-06-18 09:40:43 +02:00
3djc
be2c10c6cc
Cosmetics
2020-04-28 13:54:09 +02:00
3djc
8b15a28a06
Cosmetics
2020-04-28 10:32:55 +02:00
3djc
50508ba35d
Fix touch panel on TX16S
2020-04-28 08:28:50 +02:00
3djc
251fc3b114
Cleanup
2020-04-27 07:56:39 +02:00
3djc
6c09828912
Finish touch config table
2020-04-26 17:26:41 +02:00
3djc
e68bd31f4e
Continued
2020-04-26 09:02:05 +02:00
3djc
9f6f683d44
Some init doc
2020-04-25 15:25:41 +02:00
3djc
0bf771d4bc
Some init doc
2020-04-25 14:59:51 +02:00
3djc
541b5e8f3c
Fixes
2020-04-25 13:43:51 +02:00
3djc
b61691df1d
Attempt rework touch control
2020-04-25 13:39:28 +02:00
3djc
dd4f9de2e9
Please local travis (and more)
2020-04-07 12:48:09 +02:00
3djc
ccbbd413de
TP test started (untested)
2020-04-07 09:53:47 +02:00