Changes between Initial Version and Version 1 of HardwareUsersGuides/UserIOBoard_v1.0/Controller


Ignore:
Timestamp:
Aug 5, 2008, 10:40:10 PM (13 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HardwareUsersGuides/UserIOBoard_v1.0/Controller

    v1 v1  
     1[[TracNav(HardwareUsersGuides/UserIOBoard_v1.0/TOC)]]
     2
     3= WARP User I/O Board Controller =
     4
     5== LCD Screen ==
     6== Using the Display ==
     7
     8== Character Maps ==
     9
     10The 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.
     11
     12The 256 blocks in the character map are arranged as follows; the colors represent sections in the default character map (see below).
     13
     14[[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_charmap_blockNums.png)]]
     15
     16The 64 pixels in each character are arranged as:
     17
     18[[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_char_pixelMap.png)]]
     19
     20Here are the 64-pixel representations of two example characters, taken from the default character map (see below).
     21
     22'''"4"''' [[BR]]
     23[[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_charExample_4.png)]]
     24
     25The 64-byte array that represents the same character is below. These are the same values used to initialize this character in the default character map (character number 64). The light-colored pixels here represent white (all ones for R/G/B).
     26{{{
     27#!C
     28unsigned char pixels_four[64] = {
     290x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00,
     300x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00,
     310x00, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0x00, 0x00,
     320x00, 0xFF, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00,
     330x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00,
     340x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00,
     350x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00,
     360x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
     37}}}
     38
     39'''Solid colors - blue/black''' [[BR]]
     40[[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_charExample_blueBlack.png)]]
     41
     42The 64-byte array that represents the same character is below; these are the same values used to initialize this character in the default character map (character number 131). The blue-colored pixels here represent solid blue ([RRRGGGBB] = ![00000011] = 0x3).
     43{{{
     44#!C
     45unsigned char pixels_blueBlack[64] = {
     463, 3, 3, 3, 0, 0, 0, 0,
     473, 3, 3, 3, 0, 0, 0, 0,
     483, 3, 3, 3, 0, 0, 0, 0,
     493, 3, 3, 3, 0, 0, 0, 0,
     503, 3, 3, 3, 0, 0, 0, 0,
     513, 3, 3, 3, 0, 0, 0, 0,
     523, 3, 3, 3, 0, 0, 0, 0,
     533, 3, 3, 3, 0, 0, 0, 0};
     54}}}
     55
     56=== Default Character Map ===
     57
     58The 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.
     59
     60The character representations are based on this very handy [http://www.noritake-itron.com/Softview/fontsh8.htm LCD font guide]. Each character fills 5x7 of the 8x8 pixels in each block. The border pixels allow characters to be legibly displayed side-by-side.
     61
     62Here is the character map as displayed on the LCD itself: [[BR]]
     63[[Image(HardwareUsersGuides/UserIOBoard_v1.0/Files:LCD_charmap_displayed.jpg)]]
     64
     65The supported ASCII characters are listed in the table below.
     66
     67'''Supported ASCII Characters'''
     68|| ''Hex'' || ''Dec'' || ''Character'' ||
     69|| 032 || 040 || SP    (Space) ||
     70|| 033 || 041 || !    (exclamation point) ||
     71|| 034 || 042 || "    (double quote) ||
     72|| 035 || 043 || #    (number sign) ||
     73|| 036 || 044 || $    (dollar sign) ||
     74|| 037 || 045 || %    (percent) ||
     75|| 038 || 046 || &    (ampersand) ||
     76|| 039 || 047 || '    (single quote) ||
     77|| 040 || 050 || (  (open parenthesis) ||
     78|| 041 || 051 || )  (closing parenthesis) ||
     79|| 042 || 052 || *    (asterisk) ||
     80|| 043 || 053 || +    (plus) ||
     81|| 044 || 054 || ,    (comma) ||
     82|| 045 || 055 || -    (dash) ||
     83|| 046 || 056 || .    (dot) ||
     84|| 047 || 057 || /    (forward slash) ||
     85|| 048 || 060 || 0 ||
     86|| 049 || 061 || 1 ||
     87|| 050 || 062 || 2 ||
     88|| 051 || 063 || 3 ||
     89|| 052 || 064 || 4 ||
     90|| 053 || 065 || 5 ||
     91|| 054 || 066 || 6 ||
     92|| 055 || 067 || 7 ||
     93|| 056 || 070 || 8 ||
     94|| 057 || 071 || 9 ||
     95|| 058 || 072 || :    (colon) ||
     96|| 059 || 073 || ;    (semi-colon) ||
     97|| 060 || 074 || <    (less than) ||
     98|| 061 || 075 || =    (equal sign) ||
     99|| 062 || 076 || >    (greater than) ||
     100|| 063 || 077 || ?    (question mark) ||
     101|| 064 || 100 || @    (AT symbol) ||
     102|| 065 || 101 || A ||
     103|| 066 || 102 || B ||
     104|| 067 || 103 || C ||
     105|| 068 || 104 || D ||
     106|| 069 || 105 || E ||
     107|| 070 || 106 || F ||
     108|| 071 || 107 || G ||
     109|| 072 || 110 || H ||
     110|| 073 || 111 || I ||
     111|| 074 || 112 || J ||
     112|| 075 || 113 || K ||
     113|| 076 || 114 || L ||
     114|| 077 || 115 || M ||
     115|| 078 || 116 || N ||
     116|| 079 || 117 || O ||
     117|| 080 || 120 || P ||
     118|| 081 || 121 || Q ||
     119|| 082 || 122 || R ||
     120|| 083 || 123 || S ||
     121|| 084 || 124 || T ||
     122|| 085 || 125 || U ||
     123|| 086 || 126 || V ||
     124|| 087 || 127 || W ||
     125|| 088 || 130 || X ||
     126|| 089 || 131 || Y ||
     127|| 090 || 132 || Z ||
     128|| 091 || 133 || [    (opening bracket) ||
     129|| 092 || 134 || \    (back slash) ||
     130|| 093 || 135 || ]    (closing bracket) ||
     131|| 094 || 136 || ^    (caret) ||
     132|| 095 || 137 || _    (underscore) ||
     133|| 096 || 140 || ` (back tick)||
     134|| 097 || 141 || a ||
     135|| 098 || 142 || b ||
     136|| 099 || 143 || c ||
     137|| 100 || 144 || d ||
     138|| 101 || 145 || e ||
     139|| 102 || 146 || f ||
     140|| 103 || 147 || g ||
     141|| 104 || 150 || h ||
     142|| 105 || 151 || i ||
     143|| 106 || 152 || j ||
     144|| 107 || 153 || k ||
     145|| 108 || 154 || l ||
     146|| 109 || 155 || m ||
     147|| 110 || 156 || n ||
     148|| 111 || 157 || o ||
     149|| 112 || 160 || p ||
     150|| 113 || 161 || q ||
     151|| 114 || 162 || r ||
     152|| 115 || 163 || s ||
     153|| 116 || 164 || t ||
     154|| 117 || 165 || u ||
     155|| 118 || 166 || v ||
     156|| 119 || 167 || w ||
     157|| 120 || 170 || x ||
     158|| 121 || 171 || y ||
     159|| 122 || 172 || z ||
     160|| 123 || 173 || {    (opening brace) ||
     161|| 124 || 174 || |    (vertical bar) ||
     162|| 125 || 175 || }    (closing brace) ||
     163|| 126 || 176 || ~    (tilde) ||
     164
     165