Digole
©DIGITAL
SOLUTIONS

Serial Display emulator    New Display User manual

Forum login or
Login:
Password:
  
Forum Catagory
Digole Serial Display (210)
  12864 LCD/OLED module (24)
  24064 LCD module (3)
  Color LCD Modules (29)
  Color OLED module (20)
  Online Emulater (5)
  Universal GLCD module (1)
  Universal Text LCD module (2)
Mini Display Panels (0)
  Mini LCDs (0)
  Mini OLEDs (0)
Pattern Drive Module (0)
~Buy & Sell on Digole (2)
~Others~ (5)
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 -

"SF",123,"SC",1,"ETP",0,50,"DM^","TT0",13

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/Digole Technologies Inc., 2008-2026. All rights reserved.
Powered by Digole