-
I am trying to draw text over a filled circle as follows:
The problem is the Text is drawn with black background over the blue filled circle. I want the text to be drawn with a transparent background over the filled blue circle. How should I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I managed to achieve the effect by blindly copying the following command from an example in the documentation. Final command line is: Can someone explain the command |
Beta Was this translation helpful? Give feedback.
Documentation had this but I could not comprehend it.
Dp = switch display drawing options:
bit 0: auto updates => 1 auto draw on each displaytext cmd, 0 display must be updated manually with d
( only valid for bw oled and epaper displays, color displays draw always immediately)
bit 1: character drawing => 0 opaque character drawing, 1 transparent character drawing
Now it makes sense.
D0 = 00
D1 = 01
D2 = 10
D3 = 11