[Example] Button with increasing repeat rate

Discussion on projects that are created by users and posted on mikroElektronika website.
Post Reply
Author
Message
frank.malik
Posts: 96
Joined: 09 Apr 2021 20:37

[Example] Button with increasing repeat rate

#1 Post by frank.malik » 21 Sep 2022 12:49

Hello,

please find attached a very simple example of a button that will increase a counter.
NECTO Studio v2.1.0-ButtonIncrRepeat.png
NECTO Studio v2.1.0-ButtonIncrRepeat.png (12.55 KiB) Viewed 527 times
A short press will increase the counter by one, continuing to press the button will automatically increase the counter.
The longer you press, the faster the counter increase its value.

Use it freely in your projects.
Attachments
Example_ButtonIncrRepeat.zip
(6.03 KiB) Downloaded 42 times
Kind regards
Frank

Fusion for STM32 v8, STM32F407ZG@168MHz, 4" TFT capacitive
mikromedia 3, PIC32MZ2048EFH100@200MHz, 3" TFT capacitive
NECTO Studio 3.0.0, mikroC AI for ARM/PIC32, mikroSDK v.2.7.2

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: [Example] Button with increasing repeat rate

#2 Post by filip » 26 Sep 2022 08:09

Hi,

Thanks for the contribution, I'm sure it will help forum members. :)

Regards,
Filip.

Post Reply

Return to “User Projects”