| 12 | |
| 13 | |
| 14 | |
| 15 | [[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_charmap_displayed.jpg)]] |
| 16 | |
| 17 | == Character Maps == |
| 18 | |
| 19 | The character map is a 16x16 array of blocks. Each block is an 8x8 square of 64 pixels; each pixel is represented by a 1-byte RGB value representing one of 256 colors. The pixel value is composed of 8 bits- 3 for Red, 3 for Green and 2 for Blue. |
| 20 | |
| 21 | The 256 blocks in the character map are arranged as follows: |
| 22 | |
| 23 | [[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_charmap_blockNums.png)]] |
| 24 | |
| 25 | The 64 pixels in each character are arranged as: |
| 26 | |
| 27 | [[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_char_pixelMap.png)]] |
| 28 | |
| 29 | Here are the 64-pixel representations of two example characters, taken from the default character map (see below). |
| 30 | |
| 31 | '''"4"''' |
| 32 | [[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_charExample_4.png)]] |
| 33 | |
| 34 | '''Solid colors - blue/black''' |
| 35 | [[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_charExample_blueBlack.png)]] |
| 36 | |
| 37 | |
| 38 | === Default Character Map === |
| 39 | |
| 40 | The User I/O Board controller is initialized with a default character map. This map includes both characters (alphanumeric and punctuation) and blocks of various colors. The characters are located in the map at the correct offset that standard ASCII values can be used to access them. |