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
Diff: display.h
- Revision:
- 7:6576a287e563
- Child:
- 20:150afde94910
diff -r e0bf3b244d7c -r 6576a287e563 display.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/display.h Thu Jul 17 10:09:14 2014 +0000 @@ -0,0 +1,33 @@ +//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 //wwitch VGA on +#define VGA_OFF 1 //switch VGA off + +//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 + \ No newline at end of file