Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
- int bheight, int stride)
- {
- if (lcd_initialized)
- {
- while (bheight--)
- {
- lcd_write_command(LCD_SET_PAGE | (by & 0xf));
- lcd_write_command_e(LCD_SET_COLUMN | ((x >> 4) & 0xf), x & 0xf);
- lcd_mono_data(data, width);
- data += stride;
- by++;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement