Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Up/Down buttons velocity control?

For general discussion related FlowStone

Up/Down buttons velocity control?

Postby Subquantum » Tue Oct 28, 2014 11:21 am

Does anyone have a good way of adding velocity control to up/down buttons?

I put together these up/down buttons with two digits of precision. However, if I press and hold to increment, it will take forever to get to a high value.
Attachments
Up Down Buttons.fsm
(1.36 KiB) Downloaded 814 times
User avatar
Subquantum
 
Posts: 24
Joined: Tue Mar 11, 2014 10:20 pm
Location: USA

Re: Up/Down buttons velocity control?

Postby Loopeytunes » Tue Oct 28, 2014 11:47 am

Hi Sub, if you go inside the buttons ruby code and edit the "Button still held" part of the code (near the bottom of the code) and there you can adjust the speed of the auto incrementing, the part that says "time+0.05" make this a lower number for the auto incrementing to go up faster while the button is held down.
User avatar
Loopeytunes
 
Posts: 57
Joined: Tue Jul 13, 2010 11:07 am
Location: Yorkshire, UK

Re: Up/Down buttons velocity control?

Postby Subquantum » Tue Oct 28, 2014 1:21 pm

loopeytunes,

Thanks, that will help for one part of my application that goes from 0-30, but for another set of up/down buttons I have to go from 0-500 and if I speed it up I will loose the ability to set precise values on the way up or down.

What I need is for the speed to increase after holding the button for 2-3 seconds. The longer I hold it the faster it increases. I will look over the whole button code and see if I can add this feature to the code.

Any ideas would be greatly appreciated.
User avatar
Subquantum
 
Posts: 24
Joined: Tue Mar 11, 2014 10:20 pm
Location: USA


Return to General

Who is online

Users browsing this forum: No registered users and 62 guests

cron