Pioneer Robotics Documentation
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Pioneer Robotics Documentation
Pioneer Robotics Documentation
/
pioneer.hardware
/
LED
LED
class
LED
(
hardwareMap
:
HardwareMap
,
driverName
:
String
=
Constants.HardwareNames.LED_DRIVER
)
:
HardwareComponent
Members
Constructors
LED
Link copied to clipboard
constructor
(
hardwareMap
:
HardwareMap
,
driverName
:
String
=
Constants.HardwareNames.LED_DRIVER
)
Properties
name
Link copied to clipboard
open
val
name
:
String
Functions
clear
Link copied to clipboard
fun
clear
(
)
display
Motif
Artifacts
Link copied to clipboard
fun
displayMotifArtifacts
(
artifacts
:
List
<
Artifact
?
>
,
brightness
:
Int
=
100
)
display
Spindexer
Artifacts
Link copied to clipboard
fun
displaySpindexerArtifacts
(
artifacts
:
List
<
Artifact
?
>
,
brightness
:
Int
=
100
)
init
Link copied to clipboard
open
override
fun
init
(
)
set
Animation
Link copied to clipboard
fun
setAnimation
(
animation
:
PrismAnimations.AnimationBase
)
set
Color
Link copied to clipboard
fun
setColor
(
color
:
Color
,
start
:
Int
=
0
,
end
:
Int
=
11
,
brightness
:
Int
=
100
)
update
Link copied to clipboard
open
fun
update
(
)