Using the slider item
4 posters
Using the slider item
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).
- 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).
sswcharlie likes this post
Re: Using the slider item
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!
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
Re: Using the slider item
Thanks!
Don't know why i could not figure this out by myself.
Don't know why i could not figure this out by myself.
ECV- Posts : 5
Join date : 2017-02-16
sswcharlie likes this post
Re: Using the slider item
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
Re: Using the slider item
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
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
sswcharlie likes this post
Re: Using the slider item
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
Re: Using the slider item
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.
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.
sswcharlie likes this post
Re: Using the slider item
Thanks that works.
TrevorS- Posts : 3
Join date : 2020-04-04
sswcharlie likes this post
Re: Using the slider item
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!!
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
Similar topics
» Slider Speedometer
» Using the touchpad item
» Attach Image to slider button
» Using the button item
» Using the led item
» Using the touchpad item
» Attach Image to slider button
» Using the button item
» Using the led item
Permissions in this forum:
You cannot reply to topics in this forum
|
|