Closes this device.
Disables the serverDown mode.
Enables the blink1's dead man's trigger. This will play the pattern on the LED when pokeServerDown hasn't been called after timeout has been passed.
Fades the color to the specified value with the given duration.
Fades the color to the specified value with the given duration.
Returns the firmware version as a string in the form of v{major}.{minor}
Returns the firmware version integer.
Reads the startup parameters of the device.
Plays a stored pattern. The end and count parameters are only supported on MK2 and later devices.
Notifies the LED the "server" is still running, so it won't turn on.
Reads a note from the device.
Reads the stored pattern line at position pos.
Read the play state. Supported on MK2 devices and later.
Saves the pattern in the device's ram to nonvolatile memory. Only works on MK2 devices with firmware 204 or later, or later devices.
Immediatelty changes the color to the given value
Immediatelty changes the color to the given value
Sets the startup parameters
Stop playing whatever pattern the device is playing.
Writes a note with the given id.
Writes a pattern line to the device.
Writes a pattern line to the device.
Writes a pattern line to the device.
Enables/disables blocking mode
Returns if blocking mode is enabled.
Sets the default duration for fade animations if no duration parameter is given.
Gets the default duration for fade animations if no duration parameter is given.
Returns the maximum amount of patterns this device may hold.
The path of this device
The serial number of this device.
Gets the device type of this device.
Returns the amount of detected Blink1 devices.
Opens the first found default Blink1Device. No guarantees are given which one is found first.
Opens the device by the given index.
Obtains a Blink1 device by the OS-specific path.
Opens the device by the given serial number.
The index of our device within the blink1 library's cache.
Our "handle" to the blink led.
The maximum amount of notes that this device may hold.
Represents a physical device.
To get a reference to a device, one should call either open, openByPath, openBySerial or openByIndex. After being done with the device, please call close to release OS resources.