Closed ddemidov closed 7 years ago
See rhempel/ev3dev-lang-python#303 for an example of autogen template implementation using the new info.
X11 ships with an RGB.txt that defines a lot of colors :)
These are specific color values returned by color sensor in COL-COLOR mode though.
I'll push the fixes in a couple of hours.
This is a common theme with me... stop reviewing things at 5:00 in the morning!
You could always move a couple of time zones to the east. Here is 8pm for example, much easier to do reviews :)
This adds colors to Color Sensor class as a list of property values. The entries in the list have additional information of value/type (as opposed to other lists, where the property value was assumed to be equal to the property name).
See rhempel/ev3dev-lang-python#296 for motivation.