Virtuino Forum
Help counter - Printable Version

+- Virtuino Forum (https://virtuino.com/forum)
+-- Forum: Virtuino (https://virtuino.com/forum/forumdisplay.php?fid=1)
+--- Forum: Virtuino 6 (https://virtuino.com/forum/forumdisplay.php?fid=3)
+--- Thread: Help counter (/showthread.php?tid=1581)



Help counter - DFCARLO - 01-22-2024

Hi, 
I need some help. . I need a counter (widget present on virtuino5 and eliminated on version 6) with Arduino pin D5 input and reset on D6 displayed on the display. It works with the emulator but when I go to insert the D5 and D6 on the buttons it doesn't work.  Can you help me? 
I'm sorry I can't post a video.
Thank you


RE: Help counter - iliaslamprou - 01-27-2024

Hi,
replace the "Buttons" with "Leds"
On the "LED" settings select your connection and the buttons' pin first.
On the tab "Command" select the counter pin .
Then choose the option "Increase".

Using this connection it is not easy to have an immediate reaction to the button press.
The application waits for a value update every few seconds.
It is better to increase a variable from arduino code and in the application just show the meter.


RE: Help counter - DFCARLO - 01-31-2024

(01-27-2024, 05:52 PM)iliaslamprou Wrote: Hi,
replace the "Buttons" with "Leds"
On the "LED" settings select your connection and the buttons' pin first.
On the tab "Command" select the counter pin .
Then choose the option "Increase".

Using this connection it is not easy to have an immediate reaction to the button press.
The application waits for a value update every few seconds.
It is better to increase a variable from arduino code and in the application just show the meter.

Hi Ilias,
Thanks for the help, Now it works perfectly.