C++ file for display control

Dependencies:   4DGL mbed ConfigFile

Fork of 4DGLtest by Stephane ROCHON

Revision:
3:f7bce78b04c1
Child:
10:5706b75d40fa
diff -r 83393983a43f -r f7bce78b04c1 display.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/display.h	Thu Jun 26 11:41:45 2014 +0000
@@ -0,0 +1,31 @@
+
+//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
+
+//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