loading
 
change RGB color filter
Anonymous  [2 posts]
13 year
Hi. I've recently downloaded roborealm and it makes every image application simpler,thanks! here,I'm stuck at a point. Could I make a user interface on Visual Basic such as there will be a button and when I press that button, the color of my RGB filter will change. Or is there any other way to achieve this? Also can I do the same trick to send data and control the servos?
Anonymous 13 year
Sure take a look at the button interface http://www.roborealm.com/help/Button_Interface.php
yuri from Slovakia  [1 posts] 13 year
Hi there,
I am looking for an answer to this too and the best solution I can think of is to make a custom variable.  You can then change the variable troght GUI (Buttons), API or in a script, it doesnt matter. In the main program you would just use IF-THEN like this:

IF (variable == "red") THEN
           RGB filter RED
ELSIF (variable == "blue") THEN
          RGB filter BLUE
etc.
ENDIF
and the rest of modules

Hope it will help

yuri
Anonymous 13 year
Have a look at the attached ...

STeven.
program.robo
Anonymous  [2 posts] 13 year
this is the exact thing I want! Thanks alot!

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index