Closes this device.
Disables the serverDown mode. See enableServerDown.
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.
Returns the firmware version integer. The hundreds represent the major version, while the units and tenths represent the minor version, e.g. "v3.3" = 303;
Notifies the LED the "server" is still running, so it won't turn on. See enableServerDown.
Immediatelty changes the color to the given value
Enables/disables blocking mode
Returns if blocking mode is enabled. See blocking(bool) above as well.
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.
Gets the device type of this device.
Opens the first found default Blink1Device. No guarantees are given which one is found first. Throws a Blink1NotFoundException if no device could be found.
Opens the device by the given index. The index should range from 0 to blink1_max_devices. Throws a Blink1NotFoundException if no device could be found with the given index;
Opens the device by the OS-specific path. Throws a Blink1NotFoundException if no device could be found with the given path.
Opens the device by the given serial number. Throws a Blink1NotFoundException if no device could be found with the given serial number.