turn_off_group()
  • 1 Minute to read

turn_off_group()


Article summary

This function turns off an led’s group.

Reference

Arguments

ArgumentsTypeExplanation
groupstringName of the predefined led's group.

Return

None

Exceptions

  • RayaLedsWrongGroup

See the complete LEDs exceptions.

Usage example

Turn off the 'chest' group of leds.

Code:

self.leds.turn_off_group(group = 'chest')

Was this article helpful?

What's Next