Nayel
Nayel
Why Isn't My OLED Screen Updating with Pressure Readings on AVR128DA48?
Hi @Dtynin How are you? what you can try is to make sure both the OLED display and BMP280 sensor are properly set up by checking that device_get_binding for each device doesn’t return NULL. If it does, print an error message and stop the program. Also, remember to initialize the framebuffer with cfb_framebuffer_init() before printing anything to the OLED to ensure it’s good to go. Lastly, to keep the display clear and avoid any text overlap, use cfb_framebuffer_clear(oled_dev, true); before each update.
3 replies