Replies: 3 comments
-
wow, this is awesome. Great work, Mike! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Great work. Really appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The touch routine has not changed in a while. It works for all I need, so
need to change. Is that what you are looking for or something else?
Mike
…On Thu, Aug 31, 2023, 10:34 AM summerfind ***@***.***> wrote:
sounds great.
do you have one for Arduino IDE?
—
Reply to this email directly, view it on GitHub
<#1438 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADYPSIIKFLLMMIMCMIRH4JTXX7Z27ANCNFSM545G3CFQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I purchased an ILI9486 SPI board (not parallel) and was at a loss to use it for a few days. Then, I found bits and pieces and put this together.
I have defined a Setups folder entry for SPI version of ILI9468.
I included a new #define for having the ILI9486 driver code do the (possibly) needed display invert so it does not have to coded in every program using this same display.
I added code to the ILI9486 driver code to implement the display invert from the #define.
But, most of all, I have implemented Single touch, Double touch, Triple touch, Long touch and 8-way swipe as a subroutine in my programs. I don't really know how or want to try converting that to library format and keep naming and structure compatibility with the excellent code that is already there. I hope someone will feel that these new features are worth the time and convert my code and add it to the library. I don't want to get in trouble for messing things up and hate to lose the updates on a library refresh.
Here is the 1,2,3 click, long clock and swipe routine, the ILI9486 Setups file and the minor bit of code that can go into the ILI9468 Init.h file. It is too complex for me to put into a pull since it is not all in the right format and I don't really know how to get it into the right format. If nobody wants to tackle this, then I will have the code and can send to others if they want it.
There is one define that the user can set to select between immediate return when a long touch is detected or to wait until the press event is over before returning to the calling program. Sometimes an immediate return can cause problems by some other action happening. Usually, it seems to be the right way to go.
I hope to implement some additional graphics with buttons and touch, later. First will be a checkbox then others, as needed for my project or by request.
This code goes in at the very bottom of ILI9486_Init.h
And here is the Setups file to configure an SPI ILI9486
Mike Morrow
Beta Was this translation helpful? Give feedback.
All reactions