Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
Search store:
Forum : Digole Serial Display : Color OLED module :

 Search Forum.. 
 Creat New Topic   Reply 

Strage results when printing text with xor mode

I have a 160x128 colour OLED and am seeing odd results when using xor mode.

OK, clear screen to black (0) and then do -


The end result is a white square. I expected my character to appear in white on a black background.

If we try again but draw a blue (0b111) rectangle to clear the screen, the end result is a yellow character on a white background.

This is a rather strange xor function!  Why is anything happening to pixels that aren't part of the character that I'm drawing?


RE:Strage results when printing text with xor mode

 In order to compatible with mono module, the color 0 was assigned to black, and color 1 was assigned to white.

If you want draw white letter on black back groud, use mode "C"-copy.

Copyright Digole Digital Solutions, 2008-2022. All rights reserved.
Powered by Victor Sun