screen_buffer = (uint8_t*) malloc( hres_bytes * VRES * sizeof(uint8_t) );
// And make sure it's cleared
fill(c_BLACK);
-
+
/* LM1881 pins are connected to:
INT0 / PCINT18 / PD2 <- VSYNC
INT1 / PCINT19 / PD3 <- CSYNC
for (;;)
{
- fill(c_BLACK);
Delay_ms(100);
-
draw_string( 2, 2, "!\"#$%&'()*+-./");
draw_string( 2, 10, "01234567890");
draw_string( 2, 18, ":;<=>?@");
draw_char( 40, 80, 130);
Delay_ms(500);
- fill(c_BLACK);
+ clear_screen();
// Do some static drawing :P
set_pixel(28, 8, 1);
}
Delay_ms(250);
- fill(c_BLACK);
+ clear_screen();
int8_t hp = 10;
int8_t vp = 10;
pgm_draw_8bpp_bitmap(hp, vp, testimage_width, testimage_height, testimage);
Delay_ms(10);
- fill_rect(hp, vp, testimage_width, testimage_height, 0);
+ //fill_rect(hp, vp, testimage_width, testimage_height, 0);
+ clear_screen();
}
+ clear_screen();
}
}