Skip navigation links
C D G I L S U V 

C

ClearLEDs() - Method in class com.mach.LightDrive.LightDrive2812
Single function call to clear all LEDs on LightDrive2812.
com.mach.LightDrive - package com.mach.LightDrive
 

D

DebugDisable() - Method in class com.mach.LightDrive.LightDrive2812
Disable internal debugging print statements (default state).
DebugEnable() - Method in class com.mach.LightDrive.LightDrive2812
Enable internal debugging System.out print statements in library to assist debugging.

G

GetCurrent(int) - Method in class com.mach.LightDrive.LightDriveCAN
Return the approximate current from the specified channel bank
GetCurrent(int) - Method in class com.mach.LightDrive.LightDriveSerial
Return the approximate current from the specified channel bank
GetFWVersion() - Method in class com.mach.LightDrive.LightDriveCAN
Returns the attached LightDrive's firmware version
GetFWVersion() - Method in class com.mach.LightDrive.LightDriveSerial
Returns the attached LightDrive's firmware version
GetMode() - Method in class com.mach.LightDrive.Status
Returns a number representing the LightDrive's current mode
GetPWMs(int) - Method in class com.mach.LightDrive.LightDriveCAN
Returns the PWM input value for the given channel NOTE: Firmware V2 only
GetRaw() - Method in class com.mach.LightDrive.Status
Returns the raw byte value representing the LightDrive's status
GetStatus() - Method in class com.mach.LightDrive.LightDriveCAN
Returns a Status class for the LightDrive
GetStatus() - Method in class com.mach.LightDrive.LightDriveSerial
Returns a Status class for the LightDrive
GetTotalCurrent() - Method in class com.mach.LightDrive.LightDriveCAN
Returns the total approximate LightDrive current.
GetTotalCurrent() - Method in class com.mach.LightDrive.LightDriveSerial
Returns the total approximate LightDrive current.
GetTripped() - Method in class com.mach.LightDrive.Status
Returns which channels are overcurrent tripped
GetVersion() - Method in class com.mach.LightDrive.LightDrive2812
Get the current Library version.
GetVoltage() - Method in class com.mach.LightDrive.LightDriveCAN
Returns the LightDrive input voltage
GetVoltage() - Method in class com.mach.LightDrive.LightDriveSerial
Returns the LightDrive input voltage

I

IsEnabled() - Method in class com.mach.LightDrive.Status
Check if the LightDrive is enabled or not (IDLE or not)

L

LightDrive2812 - Class in com.mach.LightDrive
LightDrive2812 Class.
LightDrive2812() - Constructor for class com.mach.LightDrive.LightDrive2812
Construct a LightDrive2812 object and initialize (clear LEDs).
LightDriveCAN - Class in com.mach.LightDrive
Class for controlling LightDrive-12 via CANbus.
LightDriveCAN() - Constructor for class com.mach.LightDrive.LightDriveCAN
Creates an instance of LightDriveCAN to control the LightDrive12 via CANbus.
LightDriveCAN(int) - Constructor for class com.mach.LightDrive.LightDriveCAN
Create an instance of LightDriveCAN with specified address for using more than one LightDrive
LightDrivePWM - Class in com.mach.LightDrive
Class for controlling LightDrive-12 via PWM
LightDrivePWM(Servo, Servo) - Constructor for class com.mach.LightDrive.LightDrivePWM
Creates an instance of LightDriveCAN to control the LightDrive12 via PWM.
LightDriveSerial - Class in com.mach.LightDrive
Class for controlling LightDrive-12 via CANbus.
LightDriveSerial() - Constructor for class com.mach.LightDrive.LightDriveSerial
Creates an instance of LightDriveSerial to control the LightDrive12 via MXP Serial Port.
LightDriveSerial(SerialPort.Port) - Constructor for class com.mach.LightDrive.LightDriveSerial
Creates an instance of LightDriveSerial to control the LightDrive12 via the specified port.

S

SetColor(int, Color) - Method in class com.mach.LightDrive.LightDriveCAN
Set the given channel's Color
SetColor(int, Color, double) - Method in class com.mach.LightDrive.LightDriveCAN
Set the given channel's Color with a brightness scalar
SetColor(int, Color) - Method in class com.mach.LightDrive.LightDrivePWM
Set the given channel's Color
SetColor(int, Color) - Method in class com.mach.LightDrive.LightDriveSerial
Set the given channel's Color
SetColor(int, Color, double) - Method in class com.mach.LightDrive.LightDriveSerial
Set the given channel's Color with a brightness scalar
SetLevel(int, byte) - Method in class com.mach.LightDrive.LightDriveCAN
Sets the raw pwm output value for a desired channel
SetLevel(int, int) - Method in class com.mach.LightDrive.LightDrivePWM
Sets the raw pwm output value for a desired channel
SetLevel(int, byte) - Method in class com.mach.LightDrive.LightDriveSerial
Sets the raw pwm output value for a desired channel
SetRange(Color, int, int) - Method in class com.mach.LightDrive.LightDrive2812
Set count LEDs to color beginning at start.
SetRangeandClear(Color, int, int, int) - Method in class com.mach.LightDrive.LightDrive2812
Set count LEDs to color beginning at start.
SetRaw(byte) - Method in class com.mach.LightDrive.Status
Sets the raw byte representing the LightDrive's status
Status - Class in com.mach.LightDrive
Class representing the returned status of the LightDrive-12 board
Status() - Constructor for class com.mach.LightDrive.Status
Constructs a Status class for holding the current LightDrive status information
Status.mode - Enum in com.mach.LightDrive
Enum representing the different possible modes

U

Update() - Method in class com.mach.LightDrive.LightDrive2812
Update function to send latest changes to LightDrive2812 over CANbus.
Update() - Method in class com.mach.LightDrive.LightDriveCAN
Send new data to LightDrive.
Update() - Method in class com.mach.LightDrive.LightDrivePWM
Send new data to LightDrive.
Update() - Method in class com.mach.LightDrive.LightDriveSerial
Send new data to LightDrive.

V

valueOf(String) - Static method in enum com.mach.LightDrive.Status.mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mach.LightDrive.Status.mode
Returns an array containing the constants of this enum type, in the order they are declared.
C D G I L S U V 
Skip navigation links