RoboRemo Users' Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Using the slider item

4 posters

Go down

Using the slider item Empty Using the slider item

Post by Admin Tue Mar 08, 2016 8:32 am

Here is how to use a slider:
- select menu -> edit ui
- click on blank space where you want to add the slider
- select slider
- the slider will appear in the interface
- move it by dragging the top left corner
- resize it by dragging the bottom right corner
- edit its options by clicking on it

set id:
Set the text string that the slider will send, followed by a space (or not), and the slider value.

set label:
Set the text string that will appear under the slider item (it will not be sent).

set min:
Set the minimum value for the slider. Default is 0.

set max:
Set the maximum value for the slider. Default is 255.

send when moved / send when released:
The slider id and value will be sent when you move it, or when you release it.

set color:
Change the slider color.

send / don't send space:
Send space after the slider id (example: "vol 80\n"), or not (example: "vol80\n").

auto return:
Automatically return slider to middle value (or other) when you release it.

set return value:
Set the value to which the slider should return when released.
Default is mid (middle). You can enter a number, or one of min/mid/max.

set repeat period:
Set the time interval (in milliseconds), at which the slider will keep sending its id and value, even if you don't move it. Default is 0 (repeat disabled).

Admin
Admin

Posts : 150
Join date : 2016-03-08

https://roboremo.forumotion.com

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by ECV Thu Feb 16, 2017 12:12 pm

Hi
For a slider i wish to display the slider value in the label.
How to set the label text?
Everything i tried shows up as typed.
The description in the manual with the # seems not to work or is not clear to me.

Thanks!

ECV

Posts : 5
Join date : 2017-02-16

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by Admin Thu Feb 16, 2017 1:34 pm

Hi,
use "#*1" (without "")
All the best,
Victor

Admin
Admin

Posts : 150
Join date : 2016-03-08

https://roboremo.forumotion.com

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by ECV Thu Feb 16, 2017 2:22 pm

Thanks!

Don't know why i could not figure this out by myself. Embarassed

ECV

Posts : 5
Join date : 2017-02-16

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by TrevorS Sat Apr 04, 2020 1:12 pm

Hi I'm new to the forum, and joined as I don't know where else to get help. I'm starting to use Robo Remo and really enjoying it, but I have one problem. All the projects on the website that use the slider don't work for me. Anything using a button in the projects work. What can the problem be?

TrevorS

Posts : 3
Join date : 2020-04-04

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by Admin Mon Apr 06, 2020 6:56 am

Hi,
Do you mean when you import an interface containing slider?
Did you try to remove the slider and add it yourself? If that works, then it must be a bug in the import function. We will investigate.
Also you can debug the interface using the following steps:
- menu -> edit UI
- click blank space -> add Text Log
- back key (exit editor)
- menu -> connect -> UDP -> "localhost:9999" (without "")
Then all the messages that the interface is sending arrive back to RoboRemo so you will see them in the Text Log. Try to move the slider and see what it sends.

Regards,
Victor

Admin
Admin

Posts : 150
Join date : 2016-03-08

https://roboremo.forumotion.com

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by TrevorS Mon Apr 06, 2020 12:09 pm

Hi Victor, I did as you suggested and it returned nothing in the text log, but if I use a Button it send the 1 and 0 I used for press and release. Maybe to make it a little clearer, I followed the project RGB LED from your website projects page, and the slider didn't work, but the projects from your website that use buttons work, if that helps.

TrevorS

Posts : 3
Join date : 2020-04-04

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by Admin Thu Apr 09, 2020 3:16 pm

Made another test with slider and it works for me.
Here are the steps:

- menu -> interface -> clear -> OK
- menu -> edit ui
- click blank space -> add text log
- click blank space -> add slider
- click slider -> set ID to s
- scroll down -> select send when moved
- click OK to save settings
- menu -> don't edit ui
- menu -> connect -> Internet (UDP) -> localhost:9999
- move slider and the data appears in the text log like "s 144"

Please follow these steps and let me know if this works for you.

Admin
Admin

Posts : 150
Join date : 2016-03-08

https://roboremo.forumotion.com

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by TrevorS Thu Apr 16, 2020 1:30 pm

Thanks that works.

TrevorS

Posts : 3
Join date : 2020-04-04

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by construtor Thu Jun 18, 2020 5:04 pm

Hello Victor,  First post for me!!  Thank you for this great and fun app.

I have also been following your tutorials on your web and when I try to do the 1 servo (or any numbers of them) one, I get nothing.  (arduino-bluetooth-servo)

I tried for ID: servo, Servo, myServo, SERVOPLEASE      : )
Output: 0, 255  and 1000, 2000...also float
Send space, don't send space...
Repeat Period... don't...
Send when: both

I did the test above and it worked.

I also successfully did controlled 5 LEDs. So I know the BT and the app are talking.

What should I try next?

I am using Arduino Uno and HC-06 BT module.

Thank you!!


Last edited by construtor on Thu Jun 18, 2020 6:18 pm; edited 2 times in total (Reason for editing : added more info)

construtor

Posts : 1
Join date : 2020-06-18

sswcharlie likes this post

Back to top Go down

Using the slider item Empty Re: Using the slider item

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum