M5Paper : Usage of canvas.setTextColor() to define different grey scales.
-
Hi,
I have a basic question arising from lack of examples.I am referring to
https://docs.m5stack.com/en/api/m5paper/epd_canvas
in order to set different grey scales for text on a canvas.I tried values from 0 to 15, 0x00, 0x0F, 0xFF and so on and found only 3 grey shades working.
Can someone please specify which are the different values to be passed in as the first argument to canvas.setTextColor() in order to achieve the 16 different grey scale variants?Thanks,
Zitrone -
-
@felmue Thank you for the explanation and the link :)