C++ file for display control

Dependencies:   4DGL mbed ConfigFile

Fork of 4DGLtest by Stephane ROCHON

Committer:
WillemBraat
Date:
Wed Jul 16 19:15:40 2014 +0000
Revision:
11:a5b0d98794c0
Parent:
10:5706b75d40fa
Rewritten function CDU_DSP_CSS()

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WillemBraat 3:f7bce78b04c1 1
WillemBraat 3:f7bce78b04c1 2 //MBED CONTROL LINES
WillemBraat 3:f7bce78b04c1 3 //VGA selector lines
WillemBraat 3:f7bce78b04c1 4 #define VGA_INT 0 //use internal VGA screen
WillemBraat 3:f7bce78b04c1 5 #define VGA_EXT 1 //loop through external VGA screen from DB9 connector to display
WillemBraat 10:5706b75d40fa 6 #define VGA_ON 0 //wwitch VGA on
WillemBraat 10:5706b75d40fa 7 #define VGA_OFF 1 //switch VGA off
WillemBraat 3:f7bce78b04c1 8
WillemBraat 3:f7bce78b04c1 9 //LINE and pixel definitions
WillemBraat 3:f7bce78b04c1 10 #define LINE1 0
WillemBraat 3:f7bce78b04c1 11 #define LINE2 34
WillemBraat 3:f7bce78b04c1 12 #define LINE3 68
WillemBraat 3:f7bce78b04c1 13 #define LINE4 102
WillemBraat 3:f7bce78b04c1 14 #define LINE5 136
WillemBraat 3:f7bce78b04c1 15 #define LINE6 170
WillemBraat 3:f7bce78b04c1 16 #define LINE7 204
WillemBraat 3:f7bce78b04c1 17 #define LINE8 238
WillemBraat 3:f7bce78b04c1 18 #define LINE9 272
WillemBraat 3:f7bce78b04c1 19 #define LINE10 306
WillemBraat 3:f7bce78b04c1 20 #define LINE11 340
WillemBraat 3:f7bce78b04c1 21 #define LINE12 374
WillemBraat 3:f7bce78b04c1 22 #define LINE13 408
WillemBraat 3:f7bce78b04c1 23 #define LINE14 442
WillemBraat 3:f7bce78b04c1 24
WillemBraat 3:f7bce78b04c1 25 //Borders of display
WillemBraat 3:f7bce78b04c1 26 #define XMIN 0
WillemBraat 3:f7bce78b04c1 27 #define XMAX 576
WillemBraat 3:f7bce78b04c1 28 #define YMIN 0
WillemBraat 3:f7bce78b04c1 29 #define YMAX 476
WillemBraat 3:f7bce78b04c1 30
WillemBraat 3:f7bce78b04c1 31 //Width of characters
WillemBraat 3:f7bce78b04c1 32 #define SMALLCHAR 12
WillemBraat 3:f7bce78b04c1 33 #define LARGECHAR 24