cancel
Showing results for 
Search instead for 
Did you mean: 

Long Press Button Using Hardware push Button

SZY.1
Associate

Hi,

I am designing counter with hardware button using Nucleo-F767ZI (freertos) with GFX01M1. the idea is when i hold the push button (eg. 5 sec or more) counter will increase by 10 each if single press, counter will increase by 1. right now it's only work for single press. when i hold the push button it's only increase by 1 like single press.

I'm new to programming as well so a complete answer will be highly appreciated. Thanks

2 REPLIES 2
Osman SOYKURT
ST Employee

Hello SZY.1,

I think this question was already answered here. Another post also treats this subject here.

Let us know if you succeed on making what you need or if you would like more help.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
SZY.1
Associate

hi,

Thanks for your reply. i still not succeed. the counter still working like single button.