Modifications in 4DGL library. Added CDU_hw_sw.h for version info. Added pins.h for hardware pin remapping

Dependencies:   4DGL-UC MODSERIAL mbed mbos

Fork of CDU_Mbed_30 by Engravity-CDU

display.h

Committer:
WillemBraat
Date:
2014-10-10
Revision:
21:f348e6f0f7d4
Parent:
20:150afde94910

File content as of revision 21:f348e6f0f7d4:

//MBED CONTROL LINES
//VGA selector lines
#define VGA_INT 0   //use internal VGA screen
#define VGA_EXT 1   //loop through external VGA screen from DB9 connector to display
#define VGA_ON  0   //switch VGA on
#define VGA_OFF 1   //switch VGA off

#define TEXT_SCALE 2
 
//LINE and pixel definitions
#define LINE1 0 
#define LINE2 34
#define LINE3 68
#define LINE4 102
#define LINE5 136
#define LINE6 170
#define LINE7 204
#define LINE8 238
#define LINE9 272
#define LINE10 306
#define LINE11 340
#define LINE12 374
#define LINE13 408
#define LINE14 442
 
//Borders of display
#define XMIN 0
#define XMAX 576
#define YMIN 0
#define YMAX 476
 
//Width of characters
#define SMALLCHAR 12
#define LARGECHAR 24