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:
parent
0809f9b6d1
commit
0bd7385a20
@ -70,6 +70,7 @@ def rainbow(brightness=255.0, speed=1.0, fps=10):
|
|||||||
update_pixels()
|
update_pixels()
|
||||||
time.sleep(1.0 / fps)
|
time.sleep(1.0 / fps)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
for i in range(N_pixels):
|
for i in range(N_pixels):
|
||||||
set_all(0, 0, 0)
|
set_all(0, 0, 0)
|
||||||
|
BIN
python/lookup_table.npy
Normal file
BIN
python/lookup_table.npy
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user