25 #include "composite_video.h" 32 static const uint8_t PROGMEM s_composite128x64_initData[] =
38 VGA_SET_RESOLUTION,128,64,1,
42 static uint8_t s_column = 0;
43 static uint8_t s_page = 0;
45 extern uint16_t ssd1306_color;
47 static void vga_set_block1(lcduint_t x, lcduint_t y, lcduint_t w)
63 static void vga_next_page1(
void)
66 vga_set_block1(s_column,s_page+1,0);
69 static void vga_set_block2(lcduint_t x, lcduint_t y, lcduint_t w)
83 static void vga_next_page2(
void)
89 static void vga_send_pixels(uint8_t data)
91 for (uint8_t i=8; i>0; i--)
void(* send)(uint8_t data)
void ssd1306_configureI2cDisplay(const uint8_t *config, uint8_t configSize)
Sends configuration being passed to lcd display i2c/spi controller.
void(* set_block)(lcduint_t x, lcduint_t y, lcduint_t w)
Sets block in RAM of lcd display controller to write data to.
void(* send_pixels_buffer1)(const uint8_t *buffer, uint16_t len)
void(* send_pixels1)(uint8_t data)
ssd1306_lcd_t ssd1306_lcd
void ssd1306_vgaInit(void)
ssd1306_interface_t ssd1306_intf
void composite_video_128x64_mono_init(void)
Inits 128x64 monochrome VGA display.
void(* send_buffer)(const uint8_t *buffer, uint16_t size)
Sends bytes to SSD1306 device.
void(* set_mode)(lcd_mode_t mode)
Sets library display mode for direct draw functions.