Three-pin 640x400 VGA Console Mode
Dependents: projet_AWA_testVGA2
Revision 6:1d73ad03f172, committed 2011-08-10
- Comitter:
- Ivop
- Date:
- Wed Aug 10 11:40:55 2011 +0000
- Parent:
- 5:c34147b65f7d
- Child:
- 7:746c1bf00d40
- Commit message:
- documentation, 4th draft
Changed in this revision
vga640x400.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/vga640x400.h Wed Aug 10 11:34:11 2011 +0000 +++ b/vga640x400.h Wed Aug 10 11:40:55 2011 +0000 @@ -3,7 +3,13 @@ /** * @file vga640x400.h - * Generate a 640x400 VGA signal + * Generate a 640x400 VGA signal. + * + * The following mbed pins are used: + * DIP5 - Monochrome bitstream (connect to R, G and B through 470R resistors) + * DIP8 - VSYNC + * DIP25 - HSYNC + * GND */ extern unsigned char text_buffer[80*25]; ///< 80x25 screen buffer, i.e. 25 lines of 80 characters. @@ -11,7 +17,7 @@ ///< Each character is 8 pixels wide and 16 pixels high. ///< The font consists of 16 groups of 256 bytes. ///< i.e. 256 times the first byte of each character, then - ///< 256 times second byte of each character, and so on. + ///< 256 times the second byte of each character, and so on. ///< This differs from the most common way bitmap fonts are ///< ordered, so you have to preprocess your font data first.