SSD1306 Emulation Problem

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
unity-control
Posts: 52
http://meble-kuchenne.info.pl
Joined: Wed Sep 08, 2021 10:36 pm
Has thanked: 26 times
Been thanked: 11 times

SSD1306 Emulation Problem

Post by unity-control »

Hi guys,

Maybe I'm doing something wrong here like my logic isn't right... but the emulation of SSD1306 doesn't seem to be working correctly :-(

Little subprogram as follows:
sub_program.jpg
sub_program.jpg (40.52 KiB) Viewed 1886 times
The OLED shows the right image:
oled_read_reg_correct.jpg
oled_read_reg_correct.jpg (13.08 KiB) Viewed 1886 times
But the FC emulation (2D/3D Panel and Bitmap/Point Cloud modes) isn't right:
fc_gLCD_emulation.jpg
fc_gLCD_emulation.jpg (22.18 KiB) Viewed 1886 times
Thanks for your help!
R

unity-control
Posts: 52
Joined: Wed Sep 08, 2021 10:36 pm
Has thanked: 26 times
Been thanked: 11 times

Re: SSD1306 Emulation Problem

Post by unity-control »

Not a known issue?

Is it possible to get the GLCD (SSD1306 Buffered) component source at all to have a check?

Cheers!
R

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: SSD1306 Emulation Problem

Post by BenR »

Hello,

It looks like the simulated pixel colours are backwards once you set the fg/bg colours, I'll see if we can get that sorted for you.

Edit, should be fixed for you now.

unity-control
Posts: 52
Joined: Wed Sep 08, 2021 10:36 pm
Has thanked: 26 times
Been thanked: 11 times

Re: SSD1306 Emulation Problem

Post by unity-control »

Hi Ben,

THANKS for this fix, all working perfectly fine now!
ssd1306_working.jpg
ssd1306_working.jpg (31.93 KiB) Viewed 1750 times
Cheers,
R

Post Reply