Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of manworm_tv_gpu by
main.h
- Committer:
- bwang
- Date:
- 2018-05-04
- Revision:
- 13:9cf720873bf6
- Parent:
- 9:2a47b9ff8911
File content as of revision 13:9cf720873bf6:
#ifndef _mainh
#define _mainh
void draw_vincent_string(char* str);
void new_line();
void clear_all_text();
void draw_gfx_line(float x0, float y0, float x1, float y1);
// Resolution, including porches
#define V_RES 200
#define H_RES 300
// good new stuff
#define X0 75 // start of image in X
#define Y0 30 // start of image in Y
#define XL 220 // 25 chars
#define YL 165 // 20 chars
extern uint8_t *im_line_va;
#define set_pixel(x, y, color) im_line_va[H_RES*((y)+Y0) + (x) + X0] = (color)
#endif
