Add pulse to LEDBoard, re: #165

This commit is contained in:
Ben Nuttall
2016-02-12 22:50:05 +00:00
parent 81123f87d5
commit 052a998cd5
2 changed files with 27 additions and 1 deletions

View File

@@ -414,7 +414,9 @@ class PWMOutputDevice(OutputDevice):
this method never returning).
"""
on_time = off_time = 0
self.blink(on_time, off_time, fade_in_time, fade_out_time, n, background)
self.blink(
on_time, off_time, fade_in_time, fade_out_time, n, background
)
def _stop_blink(self):
if self._blink_thread: