Lines Matching full:display
9 #include <zephyr/display/cfb.h>
16 const struct device *const display = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in main() local
19 if (!device_is_ready(display)) { in main()
20 printk("Display device not ready\n"); in main()
23 if (display_set_pixel_format(display, PIXEL_FORMAT_MONO10) != 0) { in main()
24 if (display_set_pixel_format(display, PIXEL_FORMAT_MONO01) != 0) { in main()
30 if (display_blanking_off(display) != 0) { in main()
31 printk("Failed to turn off display blanking\n"); in main()
35 err = cfb_framebuffer_init(display); in main()
40 err = cfb_framebuffer_clear(display, true); in main()
45 err = cfb_print(display, "123456", 0, 0); in main()
47 printk("Could not display custom font (err %d)\n", err); in main()
50 err = cfb_framebuffer_finalize(display); in main()