Added missing lookup table, fixed pep8 formatting

Added lookup_table.npy which was missing from the previous commit. The
led.py module uses this table to do LED brightness gamma correction.
Fixed formatting for pep8 compliance
This commit is contained in:
Scott Lawson 2016-10-12 16:02:06 -07:00
parent 0809f9b6d1
commit 0bd7385a20
2 changed files with 3 additions and 2 deletions

View File

@ -70,6 +70,7 @@ def rainbow(brightness=255.0, speed=1.0, fps=10):
update_pixels()
time.sleep(1.0 / fps)
if __name__ == '__main__':
for i in range(N_pixels):
set_all(0, 0, 0)

BIN
python/lookup_table.npy Normal file

Binary file not shown.