Turns *ON* one of the 2 red blinkers that `GoPiGo3`_ has. :param int|str id: **0** / **1** for the right / left led or string literals can be used : ``"right"`` and ``"left"``.
(self, id)
| 811 | |
| 812 | |
| 813 | def blinker_on(self, id): |
| 814 | """ |
| 815 | Turns *ON* one of the 2 red blinkers that `GoPiGo3`_ has. |
| 816 | |
| 817 | :param int|str id: **0** / **1** for the right / left led or string literals can be used : ``"right"`` and ``"left"``. |
| 818 | |
| 819 | |
| 820 | """ |
| 821 | if id == 1 or id == "left": |
| 822 | self.set_led(self.LED_LEFT_BLINKER, 255) |
| 823 | if id == 0 or id == "right": |
| 824 | self.set_led(self.LED_RIGHT_BLINKER, 255) |
| 825 | |
| 826 | def blinker_off(self, id): |
| 827 | """ |
no test coverage detected