This is a version of vga640x480g customized to work well with MbedConsole

Dependents:   MbedConsole

Fork of vga640x480g by Gert van der Knokke

vga640x480g.h

Committer:
earlz
Date:
2012-09-28
Revision:
3:be212d7dbb60
Parent:
0:821e34a87609

File content as of revision 3:be212d7dbb60:

#ifndef VGA640X400_H
#define VGA640X400_H

extern unsigned char *vga_font8x16;
void vga_plot(int x,int y,char color);
void vga_putchar(int x,int y,int c,char color);
void vga_line(int x0, int y0, int x1, int y1, char color);
void vga_circle(int x0,int y0, int radius, char color);
void vga_box(int x0, int y0, int x1, int y1,char color);
void vga_putstring(int x,int y, char *s, char color);
void vga_filledbox(int x0, int y0, int x1, int y1,char color);
void vga_scroll();
void vga_cls();

#define WHITE 1
#define BLACK 0


// Always call this as the very first thing in your application
// as it resets the CPU clock to 100MHz. It also resets UART0
// to 9600 baud with the new clock. All other peripherals are off
// after a call to init_vga()

void init_vga(void);

#endif