How do you create a graphical count-down timer in TouchGFX?Are there any example custom widgets that implement a count-down timer that I am not already aware of?It seems that the Model::tick() function's cycle time varies based on the LCD, so I am no...
Is there a way to make the built-in TouchGFX keyboard act as a numberpad? I just want a way to enter numbers, decimals, backspace, and confirm data entry. This is for the STM32F469I-Disco board.
I am having trouble with the ClickListener. I am trying to debounce the click event somehow. My first instinct is to delay and then check to see if the click is still present, but I am not sure it will work with this function because it seems that th...
When I enable the DAC in my STM32CubeIDE project in the MX Device Configuration Tool, it does not put the DAC support files in the STM32F4xx_HAL_Driver folder. I end up having to add them into my project manually. Is this normal, or is there a way to...
My STM32F469I-DISCO does not fully initialize when I enable DAC1 and DAC2 on a new TouchGFX 4.20.0 project.If I don't use TouchGFX, but just the latest version of STMCubeIDE (1.1) then everything works fine. What am I missing here? I've been able to ...
OK, so I figured out how to make this work:void MainView::circleClickHandler(const touchgfx::Circle& c, const ClickEvent& evt)
{
if(evt.getType() == touchgfx::ClickEvent::PRESSED){
if (&c == &headCircle)
{..}
}Thanks for the tip to use...
Having trouble getting the compiler to recognize my syntax here, trying to get the ClickEventType from the ClickEvent parameter:void MainView::circleClickHandler(const touchgfx::Circle& c, const ClickEvent& evt)
{
if(evt.getEventType() == ClickEve...
Yes, I think that click status might do the trick! Whenever I pressed a button, it would seem to "unclick" itself, and I think that's because it was triggering whenever I RELEASED. I'll try it and come back if that doesn't work, thanks!