notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.85k stars 496 forks source link

FBTFT driver -- OLED display (Monochrome) -- Write a single pixel or some pixels #504

Closed Balajinp closed 3 years ago

Balajinp commented 6 years ago

Trying to bring up the SSD1306 OLED display (Monochrome). Need to confirm that my device tree values are proper and the device spi access proper before display anything...

Do you have the function to write the single pixel in OLED display? This function may be in kernel driver or user space applications? This may be in without conversion of RGB or something else.

-Thanks.

Balajinp commented 6 years ago

In write_vmem() in fb_ssd1306.c file, changed as

set the txbuf.buf to 0xFF before the below function, instead of the user space values, this is for testing

ret = par->fbtftops.write(par, par->txbuf.buf, par->info->var.xres * par->info->var.yres / 8); then display prints full pixels on.

arunkvnss commented 4 years ago

Do you have any answer for this ?

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.