You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason for this change? I would like to add colors to ev3dev.actuators.LCD#setColor(int color), but this way there are duplicate switch branches.
Regards,
Jakub
The text was updated successfully, but these errors were encountered:
Hmmm, upstream leJOS GraphicsLCD isn't using this enum, but this is still a bug.
/** * Set the current drawing color. The value is in the format 0x00RRGGBB. * NOTE. Currently only black and white is supported. any non black color * is treated as white! * @param rgb new color. */publicvoidsetColor(intrgb);
/** * Sets the current color to the specified RGB values. * @param red the red component * @param green the green component * @param blue the blue * @throws IllegalArgumentException if any of the color components * are outside of range <code>0-255</code> */publicvoidsetColor(intred, intgreen, intblue);
Hi,
I was looking into the LCD implementation and found that colors are defined improperly.
Upstream
lejos.robotics.Color
:Local
lejos.robotics.Color
:Is there a reason for this change? I would like to add colors to
ev3dev.actuators.LCD#setColor(int color)
, but this way there are duplicate switch branches.Regards,
Jakub
The text was updated successfully, but these errors were encountered: