2020-05-30 03:49 AM
2020-06-09 09:17 PM
First thing is I wanted to know how to communicate between hardware button and touchGFX.
Then how to make hardware button to act as trigger as I went through your article I didn't get where to add that piece of code .
As I'm new for touchGFX and c++ I don't know how to integrate the joystick part with the touchGFX QWERTY keypad code . The thing is I wanted to operate QWERTY keypad using joystick buttons which is on eval board without using touch.
2020-06-09 09:19 PM
As I'm working on STM32CubeIDE , can I integrate stm32 HAL function with the c++ touchGFX code?
2020-06-09 11:50 PM
Okay, if you're new to C++ it may be a bit tricky, i don't know. Here are the general steps:
1) Either sample the buttons directly in Model::tick() function (this function is driven by your display timings, typically) ~every 16ms
2) Sample in a different task (in your OS of choice, FreeRTOS is the default from CubeMX) and send that message through a queue which is polled in Model::tick()
3) Interrupt based
The article describes how to make the button act as a trigger in the designer (For instance, when JOY_UP pressed, switch screen), but you don't necessarily need that
I would start by calling your HAL functions directly in Model::tick() to get a feel for how things work. And read this:
/Martin
2020-06-10 01:11 AM
okay I will look into this..
2020-07-16 10:47 AM
Hi Martin,.
By looking into your webinar I created task for hardware integration but after that nothing is displaying on the LCD ... So what may be the issue?
2020-07-17 07:48 PM
Now able to react to the button pressed .
Now how to make the keyboard to react to the buttons?
2020-07-18 08:10 PM
Please anyone support in this as i'm new to this
2020-08-10 02:23 AM
Back from vacation. Did you get any further?
2020-08-10 05:56 AM
Yes one of your team membrane helped me out and its working fine with the joystick.
Thank you:smiling_face_with_smiling_eyes:
2020-08-10 05:58 AM
Perfect :)