MCPcopy Create free account
hub / github.com/DexterInd/GoPiGo3 / led_off

Method led_off

Software/Python/easygopigo3.py:849–857  ·  view source on GitHub ↗

Turns *OFF* one of the 2 red blinkers that `GoPiGo3`_ has. The same as :py:meth:`~easygopigo3.EasyGoPiGo3.blinker_off`. :param int|str id: **0** / **1** for the right / left led or string literals can be used : ``"right"`` and ``"left"``.

(self, id)

Source from the content-addressed store, hash-verified

847 self.blinker_on(id)
848
849 def led_off(self, id):
850 """
851 Turns *OFF* one of the 2 red blinkers that `GoPiGo3`_ has.
852 The same as :py:meth:`~easygopigo3.EasyGoPiGo3.blinker_off`.
853
854 :param int|str id: **0** / **1** for the right / left led or string literals can be used : ``"right"`` and ``"left"``.
855
856 """
857 self.blinker_off(id)
858
859
860 def set_left_eye_color(self, color):

Calls 1

blinker_offMethod · 0.95

Tested by

no test coverage detected