Module rustkey::led

source ·
Expand description

led module controls the LED on the TKey.

Constants§

Functions§

  • change sets the LED to a new color and returns the previous color.
  • get gets the current LED value.
  • set sets the LED value.
  • signal performs count flashes uniformly between two LED-colors: color1 and color2. Afterwards, the previous LED color is restored. Blinking the LED with alternating colors, is a simple but effective way to signal a user that is physically near the TKey device.