jo-ruether / led_table

LED table
5 stars 0 forks source link

TypeError in OutputTable.py #19

Closed arjunsarin closed 4 years ago

arjunsarin commented 4 years ago

When starting some games I occasionally discover a the following (already discussed error):

TypeError: 'numpy.float64' object cannot be interpreted as an integer

Reason: Neopixel expects a integer as RGB value and not a float. We should add type conversion to OutputTable.py instead of relying on all games to use dtype=uint8

arjunsarin commented 4 years ago

Resolved with e78e2f7baa7439f293012e4035d0779f88b8da09