RobotKit API
|
Class that encapsulates a set back LED output command. More...
#import <RKBackLEDOutputCommand.h>
Public Member Functions | |
(id) | - initWithBrightness: |
Static Public Member Functions | |
(void) | + sendCommandWithBrightness: |
Properties | |
float | brightness |
This class is used to change the back blue LED brightness on Sphero. The back LED is designed to be inline with the forward direction (0° heading) of Sphero. Thus this can be used to aid in aiming Sphero (calibration), so a 0° heading set in the roll command goes in the user's prefered direction.
- (id) initWithBrightness: | (float) | brightness |
Initializer for a object.
brightness | The brightness value between 0.0 to 1.0 where 0.0 is off and 1.0 is full brightness. |
+ (void) sendCommandWithBrightness: | (float) | brightness |
A convenience method for sending the command to the device.
brightness | The brightness value between 0.0 to 1.0 where 0.0 is off and 1.0 is full brightness. |
- (float) brightness [read, assign] |
The brightness value between 0.0 to 1.0 where 0.0 is off and 1.0 is full brightness.