Description Usage Arguments Value Methods (by class) Examples
Gets the value of a given led instance.
1 2 3 4 | get_led_value(x)
## S4 method for signature 'LED'
get_led_value(x)
|
x |
A LED instance. |
A numeric of length one with the actual value of the led.
LED:
1 2 3 4 5 6 7 | ## Not run:
# Get a led instance with initial value 1 (maximum intensity).
led <- get_led(14, 1)
# Read the value of the led (should be 1).
get_led_value(led)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.