Using the led item

View previous topic View next topic Go down

Using the led item

Post by Admin on Tue Mar 08, 2016 8:33 am

Here is how to use a led:
- select menu -> edit ui
- click on blank space where you want to add the led
- select led
- the led 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 id (text string) for the led. Example: "led1"

set on command:
Set the command for turning on the led. Default is "1". Example: "led1 1\n" will turn on the led that has the id "led1".

set off command:
Set the command for turning off the led. Default is "0". Example: "led1 0\n" will turn off the led that has the id "led1".

set label:
Set the text string that will appear under the led.

set color:
Change the led color.

set on timeout:
Set the timeout after which led will turn off if it does not receive command to turn on. You can program your remote device to periodically send a command to turn on an led, and set the on timeout so that you will see the led will turn off if the connection is lost.

set off timeout:
Set the timeout after which led will turn on if it does not receive the command to turn off.

Example using led items in RoboRemo:
http://www.roboremo.com/blink-3-leds.html

Admin
Admin

Posts : 111
Join date : 2016-03-08

View user profile http://roboremo.makeforum.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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