mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-08 13:53:53 +01:00
feat: Add more colors in constants for a RGB status LED
On the Connect 4, the status LEDs are RGB. By switching several LEDs, further colors can be generated as red, green, blue.
This commit is contained in:
@@ -19,7 +19,7 @@ class ModuleImport(unittest.TestCase):
|
||||
|
||||
self.assertEqual(revpimodio2._internal.consttostr(999), "")
|
||||
|
||||
lst_const = [0, 1, 2, 4, 31, 32, 33, 300, 301, 302, 4096]
|
||||
lst_const = [0, 1, 2, 3, 4, 5, 6, 7, 31, 32, 33, 300, 301, 302, 4096]
|
||||
internal_dict = revpimodio2._internal.__dict__ # type: dict
|
||||
for key in internal_dict:
|
||||
if type(internal_dict[key]) is int:
|
||||
|
||||
Reference in New Issue
Block a user