Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void drawSanta(void)
- {
- uint32_t i = 153600 - 1;
- uint16_t y = 0;
- signed int x = 0;
- uint16_t color;
- for (y = 0; y < 240; y++) {
- for (x=319; x>=0; x--) {
- color = SantaImageBuffer[i--] << 8 | SantaImageBuffer[i--];
- TM_ILI9341_DrawPixel(x, y, color);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement