Blinkin Lights
LED driver subsystem for the REV Blinkin Lights. Able to integrate with the Task system to schedule lighting patterns.
Author
Lachlan Paul, 2024
Lucas Bubner, 2024
Since
4.0.0
Types
Inherited properties
Link copied to clipboard
Link copied to clipboard
Get a reference to the currently running BunyipsOpMode.
Functions
Link copied to clipboard
Set the current pattern.
Link copied to clipboard
Get the current pattern.
Link copied to clipboard
Reset the pattern back to the default.
Link copied to clipboard
Set the current pattern.
Link copied to clipboard
Set the PWM value of the lights.
Link copied to clipboard
Cancel tasks and turn off the lights.
Inherited functions
Link copied to clipboard
Utility function to run
NullSafety.assertComponentArgs()
on the given parameters, usually on the motors/hardware/critical objects passed into the constructor.Link copied to clipboard
Cancel the current task immediately and return to the default task, if available.
Link copied to clipboard
Default task setter extension for BunyipsSubsystem to set the default task of a subsystem.
Link copied to clipboard
Call to delegate the update of this subsystem, usually a component of another subsystem, to this subsystem.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Null check consumer for the opMode field which will no-op the given consumer if an active BunyipsOpMode is not present (i.e.
Link copied to clipboard
Null assertion for the opMode field which throws a NullPointerException if an active BunyipsOpMode is not present (i.e.
Link copied to clipboard
Reset stored static instances of BunyipsSubsystem.
Link copied to clipboard
Set the default task for this subsystem, which will be run when no other task is running.
Link copied to clipboard
Set the current task to the given task, overriding any current task.
Link copied to clipboard
Call to delegate all updates of this subsystem to a thread that will begin execution on this method call.
Link copied to clipboard
Call to stop delegating updates of this subsystem to a thread.
Link copied to clipboard