Hello,
here is a small example of using the progress bar to display a value, set by two buttons to increase and decrease the value.
A short press will increase/decrease the value by 5%-points. Holding the button ( keep pressing ) will automatically
increase or decrease the value, until the button is released, the minimum or the maximum value is reached.
Demonstrates the use of events like OnDown, OnUp, and OnPress. Additionally a correctly working implementation of
millis() using timer interrupts is shown. Tested on mikromedia 3 for PIC32 and Fusion for STM32 v8.
Please use it freely for your projects
[Example] Progress bar with auto increment/decrement
-
- Posts: 96
- Joined: 09 Apr 2021 20:37
[Example] Progress bar with auto increment/decrement
- Attachments
-
- ProgressBar_with_auto_incr_decr.zip
- (15.44 KiB) Downloaded 75 times
Last edited by frank.malik on 03 Oct 2022 18:52, edited 1 time in total.
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
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
Re: [Example] Progress bar with auto increment/decrement
Very good example, really instructive.
I suggest you to post it on Libstock https://libstock.mikroe.com/ will be easier to find there.
I suggest you to post it on Libstock https://libstock.mikroe.com/ will be easier to find there.
Serge T.
Learning is an endeless process but it must start somewhere!
Learning is an endeless process but it must start somewhere!
-
- Posts: 96
- Joined: 09 Apr 2021 20:37
Re: [Example] Progress bar with auto increment/decrement
Hello Toley,
I wasn't aware about this possibility. Thank you very much for your suggestion.
I wasn't aware about this possibility. Thank you very much for your suggestion.
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
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
Re: [Example] Progress bar with auto increment/decrement
Hi,
Thanks again for your valuable project!
Regards,
Filip.
Thanks again for your valuable project!
Regards,
Filip.
-
- Posts: 1
- Joined: 27 May 2023 17:18
Re: [Example] Progress bar with auto increment/decrement
Hello.
I'm just getting started with Necto Studio and I'll frankly admit I'm stuck on handling the display.
Your example brightened a few things for me and allowed me to move forward.
Many thanks
Regards
Peter
I'm just getting started with Necto Studio and I'll frankly admit I'm stuck on handling the display.
Your example brightened a few things for me and allowed me to move forward.
Many thanks
Regards
Peter
-
- Posts: 1
- Joined: 29 Jan 2024 03:40
Re: [Example] Progress bar with auto increment/decrement
Coding example for the question How to create clickable progress bar increment and decrement value of progress bar with 20%-Reactjs.Slope Game