voor willem test

Dependencies:   4DGL MODSERIAL mbed mbos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers display.h Source File

display.h

00001 //MBED CONTROL LINES
00002 //VGA selector lines
00003 #define VGA_INT 0   //use internal VGA screen
00004 #define VGA_EXT 1   //loop through external VGA screen from DB9 connector to display
00005 #define VGA_ON  0   //wwitch VGA on
00006 #define VGA_OFF 1   //switch VGA off
00007  
00008 //LINE and pixel definitions
00009 #define LINE1 0
00010 #define LINE2 34
00011 #define LINE3 68
00012 #define LINE4 102
00013 #define LINE5 136
00014 #define LINE6 170
00015 #define LINE7 204
00016 #define LINE8 238
00017 #define LINE9 272
00018 #define LINE10 306
00019 #define LINE11 340
00020 #define LINE12 374
00021 #define LINE13 408
00022 #define LINE14 442
00023  
00024 //Borders of display
00025 #define XMIN 0
00026 #define XMAX 576
00027 #define YMIN 0
00028 #define YMAX 476
00029  
00030 //Width of characters
00031 #define SMALLCHAR 12
00032 #define LARGECHAR 24
00033