francesco fantoni / N5110
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers N5110.h Source File

N5110.h

Go to the documentation of this file.
00001 /**
00002 @file N5110.h
00003 
00004 @brief Header file containing member functions and variables
00005 
00006 */
00007 
00008 #ifndef N5110_H
00009 #define N5110_H
00010 
00011 // Command Bytes - taken from Chris Yan's library
00012 // More information can be found in the display datasheet
00013 // H = 0 - Basic instructions
00014 #define CMD_DC_CLEAR_DISPLAY   0x08
00015 #define CMD_DC_NORMAL_MODE     0x0C
00016 #define CMD_DC_FILL_DISPLAY    0x09
00017 #define CMD_DC_INVERT_VIDEO    0x0D
00018 #define CMD_FS_HORIZONTAL_MODE 0x00
00019 #define CMD_FS_VERTICAL_MODE   0x02
00020 #define CMD_FS_BASIC_MODE      0x00
00021 #define CMD_FS_EXTENDED_MODE   0x01
00022 #define CMD_FS_ACTIVE_MODE     0x00
00023 #define CMD_FS_POWER_DOWN_MODE 0x04
00024 // H = 1 - Extended instructions
00025 #define CMD_TC_TEMP_0          0x04
00026 #define CMD_TC_TEMP_1          0x05
00027 #define CMD_TC_TEMP_2          0x06
00028 #define CMD_TC_TEMP_3          0x07
00029 #define CMD_BI_MUX_24          0x15
00030 #define CMD_BI_MUX_48          0x13
00031 #define CMD_BI_MUX_100         0x10
00032 #define CMD_VOP_6V06           0xB2
00033 #define CMD_VOP_7V38           0xC8
00034 
00035 // LCD Characteristics
00036 #define LCD_FREQ 2000000
00037 #define LCD_SPI_MODE 0x01
00038 #define LCD_SPI_BITS 0x08
00039 #define LCD_X_MAX 84
00040 #define LCD_Y_MAX 48
00041 
00042 // MATH CONSTANTS
00043 //# define PI           3.14159265358979323846  /* pi */
00044 
00045 #include "mbed.h"
00046 #include <math.h>
00047 
00048 /** 
00049 @brief Simple library for interfacing with Nokia 5110 LCD display (https://www.sparkfun.com/products/10168) using the hardware SPI on the mbed.
00050 @brief The display is powered from a GPIO pin meaning it can be controlled via software.  The LED backlight is also software-controllable (via PWM pin).
00051 @brief Can print characters and strings to the display using the included 5x7 font.  
00052 @brief The library also implements a screen buffer so that individual pixels on the display (84 x 48) can be set, cleared and read.
00053 
00054 @brief Acknowledgements to Chris Yan's Nokia_5110 Library.
00055 
00056 @brief Revision 1.0
00057 
00058 @author Craig A. Evans
00059 @date   January 2014
00060  *
00061  * Example:
00062  * @code
00063  
00064  #include "mbed.h"
00065  #include "N5110.h"
00066  
00067   //    VCC,SCE,RST,D/C,MOSI,SCLK,LED
00068  N5110 lcd(p7,p8,p9,p10,p11,p13,p26);
00069  
00070  int main() {
00071     
00072    // initialise display 
00073   lcd.init();
00074   // print a string in top-left corner
00075   lcd.printString("Hello, World!",0,0);
00076   // move cursor to 4th row
00077   lcd.setXYAddress(0,3);
00078   // print character
00079   lcd.printChar('X');
00080     
00081   while(1);
00082  }
00083   
00084  * @endcode
00085  */
00086 class N5110
00087 {
00088 
00089 public:
00090     /** Create a N5110 object connected to the specified pins
00091     *
00092     * @param pwr Pin connected to Vcc on the LCD display (pin 1)
00093     * @param sce Pin connected to chip enable (pin 3)
00094     * @param rst Pin connected to reset (pin 4)
00095     * @param dc  Pin connected to data/command select (pin 5)
00096     * @param mosi Pin connected to data input (MOSI) (pin 6)
00097     * @param sclk Pin connected to serial clock (SCLK) (pin 7)
00098     * @param led Pin connected to LED backlight (must be PWM) (pin 8) 
00099     * 
00100     */
00101     N5110(PinName pwrPin, PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin);
00102     
00103     /** Initialise display
00104     *
00105     *   Powers up the display and turns on backlight (50% brightness default).
00106     *   Sets the display up in horizontal addressing mode and with normal video mode.
00107     */
00108     void init();
00109     
00110     /** Turn off
00111     *
00112     *   Powers down the display and turns of the backlight.
00113     *   Needs to be reinitialised before being re-used.
00114     */
00115     void turnOff();
00116     
00117     /** Clears
00118     *
00119     *   Clears the screen.
00120     */
00121     void clear();
00122     
00123     /** Turn on normal video mode (default)
00124     *  Black on white
00125     */
00126     void normalMode();
00127     
00128     /** Turn on inverse video mode (default)
00129     *  White on black
00130     */
00131     void inverseMode();
00132     
00133     /** Set Brightness
00134     *
00135     *   Sets brightness of LED backlight.
00136     *   @param brightness - float in range 0.0 to 1.0
00137     */
00138     void setBrightness(float brightness);
00139     
00140     /** Set XY Address
00141     * 
00142     *   Sets the X and Y address of where the next data sent to the displa will be written in RAM.
00143     *   @param  x - the column number (0 to 83) - is automatically incremented after data is written
00144     *   @param  y - the row number (0 to 5) - the diplay is split into 6 banks - each bank can be considered a row
00145     */
00146     void setXYAddress(int x, int y);
00147     
00148     /** Print String
00149     *
00150     *   Prints a string of characters to the display.  
00151     *   @param x - the column number (0 to 83)
00152     *   @param y - the row number (0 to 5) - the display is split into 6 banks - each bank can be considered a row
00153     */
00154     void printString(const char * str,int x,int y);
00155     
00156     void printNegString(const char * str,int x,int y);
00157 
00158     /** Print Character
00159     *
00160     *   Sends a character to the display.  Will be printed at the current address.
00161     *   X address is autoincremented by 1 to leave a pixel between successive characters.
00162     *   @param  c - the character to print. Can print ASCII as so printChar('C').
00163     */
00164     void printChar(char c);
00165     
00166     void printNegChar(char c);
00167 
00168     /** Set a Pixel
00169     *
00170     *   This function sets a pixel in the display. A call to refresh() must be made
00171     *   to update the display to reflect the change in pixels.
00172     *   @param  x - the x co-ordinate of the pixel (0 to 83)
00173     *   @param  y - the y co-ordinate of the pixel (0 to 47) 
00174     */
00175     void setPixel(int x, int y);
00176     
00177     /** Clear a Pixel
00178     *
00179     *   This function clears pixel in the display. A call to refresh() must be made
00180     *   to update the display to reflect the change in pixels.
00181     *   @param  x - the x co-ordinate of the pixel (0 to 83)
00182     *   @param  y - the y co-ordinate of the pixel (0 to 47) 
00183     */
00184 
00185     void drawHline(int x, int y, int l);
00186 
00187     void drawVline(int x, int y, int l);
00188 
00189     void drawRectangle(int x, int y, int w, int h);
00190 
00191     void drawGrid(int stepx, int stepy);
00192 
00193     void drawLine(int x0, int y0, int x1, int y1);
00194 
00195     void drawLineAngle(int x0, int y0, int l, float angle);
00196 
00197     void drawCircle(int x, int y, int radius, int divisions);
00198 
00199     void clearPixel(int x, int y);
00200     
00201     /** Get a Pixel
00202     *
00203     *   This function gets the status of a pixel in the display.
00204     *   @param  x - the x co-ordinate of the pixel (0 to 83)
00205     *   @param  y - the y co-ordinate of the pixel (0 to 47) 
00206     *   @returns 
00207     *       0           - pixel is clear
00208     *       non-zero    - pixel is set
00209     */
00210     unsigned char getPixel(int x, int y);
00211     
00212     /** Refresh display
00213     *
00214     *   This functions refreshes the display to reflect the current data in the buffer.
00215     */    
00216     void refresh();
00217     
00218     /** Randomise buffer
00219     *
00220     *   This function fills the buffer with random data.  Can be used to test the display.  
00221     *   A call to refresh() must be made to update the display to reflect the change in pixels.
00222     *   The seed is not set and so the generated pattern will probably be the same each time.
00223     *   TODO: Randomise the seed - maybe using the noise on the AnalogIn pins.
00224     */
00225     void randomiseBuffer();
00226 
00227 private:
00228 
00229     void turnOn();
00230     void reset();
00231     void clearRAM();
00232     void clearBuffer();
00233     void sendCommand(unsigned char command);
00234     void sendData(unsigned char data);
00235 
00236 public:
00237     unsigned char buffer[84][6];  // screen buffer - the 6 is for the banks - each one is 8 bits;
00238     int W;
00239     int H;
00240 
00241 private:  // private variables
00242     SPI*    spi;
00243     PwmOut* led;
00244     DigitalOut* pwr;
00245     DigitalOut* sce;
00246     DigitalOut* rst;
00247     DigitalOut* dc;
00248 
00249 };
00250 
00251 const unsigned char font5x7[480] = {
00252     0x00, 0x00, 0x00, 0x00, 0x00,// (space)
00253     0x00, 0x00, 0x5F, 0x00, 0x00,// !
00254     0x00, 0x07, 0x00, 0x07, 0x00,// "
00255     0x14, 0x7F, 0x14, 0x7F, 0x14,// #
00256     0x24, 0x2A, 0x7F, 0x2A, 0x12,// $
00257     0x23, 0x13, 0x08, 0x64, 0x62,// %
00258     0x36, 0x49, 0x55, 0x22, 0x50,// &
00259     0x00, 0x05, 0x03, 0x00, 0x00,// '
00260     0x00, 0x1C, 0x22, 0x41, 0x00,// (
00261     0x00, 0x41, 0x22, 0x1C, 0x00,// )
00262     0x08, 0x2A, 0x1C, 0x2A, 0x08,// *
00263     0x08, 0x08, 0x3E, 0x08, 0x08,// +
00264     0x00, 0x50, 0x30, 0x00, 0x00,// ,
00265     0x08, 0x08, 0x08, 0x08, 0x08,// -
00266     0x00, 0x60, 0x60, 0x00, 0x00,// .
00267     0x20, 0x10, 0x08, 0x04, 0x02,// /
00268     0x3E, 0x51, 0x49, 0x45, 0x3E,// 0
00269     0x00, 0x42, 0x7F, 0x40, 0x00,// 1
00270     0x42, 0x61, 0x51, 0x49, 0x46,// 2
00271     0x21, 0x41, 0x45, 0x4B, 0x31,// 3
00272     0x18, 0x14, 0x12, 0x7F, 0x10,// 4
00273     0x27, 0x45, 0x45, 0x45, 0x39,// 5
00274     0x3C, 0x4A, 0x49, 0x49, 0x30,// 6
00275     0x01, 0x71, 0x09, 0x05, 0x03,// 7
00276     0x36, 0x49, 0x49, 0x49, 0x36,// 8
00277     0x06, 0x49, 0x49, 0x29, 0x1E,// 9
00278     0x00, 0x36, 0x36, 0x00, 0x00,// :
00279     0x00, 0x56, 0x36, 0x00, 0x00,// ;
00280     0x00, 0x08, 0x14, 0x22, 0x41,// <
00281     0x14, 0x14, 0x14, 0x14, 0x14,// =
00282     0x41, 0x22, 0x14, 0x08, 0x00,// >
00283     0x02, 0x01, 0x51, 0x09, 0x06,// ?
00284     0x32, 0x49, 0x79, 0x41, 0x3E,// @
00285     0x7E, 0x11, 0x11, 0x11, 0x7E,// A
00286     0x7F, 0x49, 0x49, 0x49, 0x36,// B
00287     0x3E, 0x41, 0x41, 0x41, 0x22,// C
00288     0x7F, 0x41, 0x41, 0x22, 0x1C,// D
00289     0x7F, 0x49, 0x49, 0x49, 0x41,// E
00290     0x7F, 0x09, 0x09, 0x01, 0x01,// F
00291     0x3E, 0x41, 0x41, 0x51, 0x32,// G
00292     0x7F, 0x08, 0x08, 0x08, 0x7F,// H
00293     0x00, 0x41, 0x7F, 0x41, 0x00,// I
00294     0x20, 0x40, 0x41, 0x3F, 0x01,// J
00295     0x7F, 0x08, 0x14, 0x22, 0x41,// K
00296     0x7F, 0x40, 0x40, 0x40, 0x40,// L
00297     0x7F, 0x02, 0x04, 0x02, 0x7F,// M
00298     0x7F, 0x04, 0x08, 0x10, 0x7F,// N
00299     0x3E, 0x41, 0x41, 0x41, 0x3E,// O
00300     0x7F, 0x09, 0x09, 0x09, 0x06,// P
00301     0x3E, 0x41, 0x51, 0x21, 0x5E,// Q
00302     0x7F, 0x09, 0x19, 0x29, 0x46,// R
00303     0x46, 0x49, 0x49, 0x49, 0x31,// S
00304     0x01, 0x01, 0x7F, 0x01, 0x01,// T
00305     0x3F, 0x40, 0x40, 0x40, 0x3F,// U
00306     0x1F, 0x20, 0x40, 0x20, 0x1F,// V
00307     0x7F, 0x20, 0x18, 0x20, 0x7F,// W
00308     0x63, 0x14, 0x08, 0x14, 0x63,// X
00309     0x03, 0x04, 0x78, 0x04, 0x03,// Y
00310     0x61, 0x51, 0x49, 0x45, 0x43,// Z
00311     0x00, 0x00, 0x7F, 0x41, 0x41,// [
00312     0x02, 0x04, 0x08, 0x10, 0x20,// "\"
00313     0x41, 0x41, 0x7F, 0x00, 0x00,// ]
00314     0x04, 0x02, 0x01, 0x02, 0x04,// ^
00315     0x40, 0x40, 0x40, 0x40, 0x40,// _
00316     0x00, 0x01, 0x02, 0x04, 0x00,// `
00317     0x20, 0x54, 0x54, 0x54, 0x78,// a
00318     0x7F, 0x48, 0x44, 0x44, 0x38,// b
00319     0x38, 0x44, 0x44, 0x44, 0x20,// c
00320     0x38, 0x44, 0x44, 0x48, 0x7F,// d
00321     0x38, 0x54, 0x54, 0x54, 0x18,// e
00322     0x08, 0x7E, 0x09, 0x01, 0x02,// f
00323     0x08, 0x14, 0x54, 0x54, 0x3C,// g
00324     0x7F, 0x08, 0x04, 0x04, 0x78,// h
00325     0x00, 0x44, 0x7D, 0x40, 0x00,// i
00326     0x20, 0x40, 0x44, 0x3D, 0x00,// j
00327     0x00, 0x7F, 0x10, 0x28, 0x44,// k
00328     0x00, 0x41, 0x7F, 0x40, 0x00,// l
00329     0x7C, 0x04, 0x18, 0x04, 0x78,// m
00330     0x7C, 0x08, 0x04, 0x04, 0x78,// n
00331     0x38, 0x44, 0x44, 0x44, 0x38,// o
00332     0x7C, 0x14, 0x14, 0x14, 0x08,// p
00333     0x08, 0x14, 0x14, 0x18, 0x7C,// q
00334     0x7C, 0x08, 0x04, 0x04, 0x08,// r
00335     0x48, 0x54, 0x54, 0x54, 0x20,// s
00336     0x04, 0x3F, 0x44, 0x40, 0x20,// t
00337     0x3C, 0x40, 0x40, 0x20, 0x7C,// u
00338     0x1C, 0x20, 0x40, 0x20, 0x1C,// v
00339     0x3C, 0x40, 0x30, 0x40, 0x3C,// w
00340     0x44, 0x28, 0x10, 0x28, 0x44,// x
00341     0x0C, 0x50, 0x50, 0x50, 0x3C,// y
00342     0x44, 0x64, 0x54, 0x4C, 0x44,// z
00343     0x00, 0x08, 0x36, 0x41, 0x00,// {
00344     0x00, 0x00, 0x7F, 0x00, 0x00,// |
00345     0x00, 0x41, 0x36, 0x08, 0x00,// }
00346     0x08, 0x08, 0x2A, 0x1C, 0x08,// ->
00347     0x08, 0x1C, 0x2A, 0x08, 0x08 // <-
00348 };
00349 
00350 const unsigned char font6x7[576] = {
00351         0x00, 0x00, 0x00, 0x00, 0x00, 0x00,      // Code for char space
00352         0x00, 0x2E, 0x00, 0x00, 0x00, 0x00,      // Code for char !
00353         0x06, 0x00, 0x06, 0x00, 0x00, 0x00,      // Code for char "
00354         0x14, 0x3E, 0x14, 0x3E, 0x14, 0x00,      // Code for char #
00355         0x2E, 0x2A, 0x3E, 0x2A, 0x3A, 0x00,      // Code for char $
00356         0x26, 0x16, 0x08, 0x34, 0x32, 0x00,      // Code for char %
00357         0x36, 0x2A, 0x2A, 0x36, 0x10, 0x28,      // Code for char &
00358         0x06, 0x00, 0x00, 0x00, 0x00, 0x00,      // Code for char '
00359         0x1C, 0x22, 0x00, 0x00, 0x00, 0x00,      // Code for char (
00360         0x22, 0x1C, 0x00, 0x00, 0x00, 0x00,      // Code for char )
00361         0x0A, 0x04, 0x0A, 0x00, 0x00, 0x00,      // Code for char *
00362         0x08, 0x08, 0x3E, 0x08, 0x08, 0x00,      // Code for char +
00363         0x30, 0x00, 0x00, 0x00, 0x00, 0x00,      // Code for char ,
00364         0x08, 0x08, 0x08, 0x08, 0x08, 0x00,      // Code for char -
00365         0x20, 0x00, 0x00, 0x00, 0x00, 0x00,      // Code for char .
00366         0x20, 0x10, 0x08, 0x04, 0x02, 0x00,      // Code for char /
00367         0x1C, 0x22, 0x22, 0x22, 0x1C, 0x00,      // Code for char 0
00368         0x22, 0x3E, 0x20, 0x00, 0x00, 0x00,      // Code for char 1
00369         0x3A, 0x2A, 0x2A, 0x2A, 0x2E, 0x00,      // Code for char 2
00370         0x2A, 0x2A, 0x2A, 0x2A, 0x3E, 0x00,      // Code for char 3
00371         0x18, 0x14, 0x12, 0x3E, 0x10, 0x00,      // Code for char 4
00372         0x2E, 0x2A, 0x2A, 0x2A, 0x3A, 0x00,      // Code for char 5
00373         0x3E, 0x2A, 0x2A, 0x2A, 0x3A, 0x00,      // Code for char 6
00374         0x02, 0x22, 0x12, 0x0A, 0x06, 0x00,      // Code for char 7
00375         0x3E, 0x2A, 0x2A, 0x2A, 0x3E, 0x00,      // Code for char 8
00376         0x2E, 0x2A, 0x2A, 0x2A, 0x3E, 0x00,      // Code for char 9
00377         0x14, 0x00, 0x00, 0x00, 0x00, 0x00,      // Code for char :
00378         0x34, 0x00, 0x00, 0x00, 0x00, 0x00,      // Code for char ;
00379         0x08, 0x14, 0x22, 0x00, 0x00, 0x00,      // Code for char <
00380         0x14, 0x14, 0x14, 0x14, 0x14, 0x00,      // Code for char =
00381         0x22, 0x14, 0x08, 0x00, 0x00, 0x00,      // Code for char >
00382         0x02, 0x02, 0x2A, 0x0A, 0x0E, 0x00,      // Code for char ?
00383         0x3E, 0x22, 0x3A, 0x2A, 0x3E, 0x00,      // Code for char @
00384         0x3E, 0x0A, 0x0A, 0x0A, 0x3E, 0x00,      // Code for char A
00385         0x3E, 0x2A, 0x2A, 0x2A, 0x1C, 0x00,      // Code for char B
00386         0x3E, 0x22, 0x22, 0x22, 0x22, 0x00,      // Code for char C
00387         0x3E, 0x22, 0x22, 0x22, 0x1C, 0x00,      // Code for char D
00388         0x3E, 0x2A, 0x2A, 0x2A, 0x2A, 0x00,      // Code for char E
00389         0x3E, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,      // Code for char F
00390         0x3E, 0x22, 0x2A, 0x2A, 0x3A, 0x00,      // Code for char G
00391         0x3E, 0x08, 0x08, 0x08, 0x3E, 0x00,      // Code for char H
00392         0x22, 0x3E, 0x22, 0x00, 0x00, 0x00,      // Code for char I
00393         0x10, 0x20, 0x22, 0x22, 0x1E, 0x00,      // Code for char J
00394         0x3E, 0x08, 0x08, 0x14, 0x22, 0x00,      // Code for char K
00395         0x3E, 0x20, 0x20, 0x20, 0x20, 0x00,      // Code for char L
00396         0x3E, 0x04, 0x08, 0x04, 0x3E, 0x00,      // Code for char M
00397         0x3E, 0x04, 0x08, 0x10, 0x3E, 0x00,      // Code for char N
00398         0x3E, 0x22, 0x22, 0x22, 0x3E, 0x00,      // Code for char O
00399         0x3E, 0x0A, 0x0A, 0x0A, 0x0E, 0x00,      // Code for char P
00400         0x3E, 0x22, 0x22, 0x32, 0x3E, 0x00,      // Code for char Q
00401         0x3E, 0x0A, 0x0A, 0x3A, 0x2E, 0x00,      // Code for char R
00402         0x2E, 0x2A, 0x2A, 0x2A, 0x3A, 0x00,      // Code for char S
00403         0x02, 0x02, 0x3E, 0x02, 0x02, 0x00,      // Code for char T
00404         0x3E, 0x20, 0x20, 0x20, 0x3E, 0x00,      // Code for char U
00405         0x0E, 0x10, 0x20, 0x10, 0x0E, 0x00,      // Code for char V
00406         0x1E, 0x20, 0x1E, 0x20, 0x1E, 0x00,      // Code for char W
00407         0x22, 0x14, 0x08, 0x14, 0x22, 0x00,      // Code for char X
00408         0x06, 0x08, 0x30, 0x08, 0x06, 0x00,      // Code for char Y
00409         0x22, 0x32, 0x2A, 0x26, 0x22, 0x00,      // Code for char Z
00410         0x3E, 0x22, 0x00, 0x00, 0x00, 0x00,      // Code for char [
00411         0x02, 0x04, 0x08, 0x10, 0x20, 0x00,      // Code for char BackSlash
00412         0x22, 0x3E, 0x00, 0x00, 0x00, 0x00,      // Code for char ]
00413         0x04, 0x02, 0x04, 0x00, 0x00, 0x00,      // Code for char ^
00414         0x20, 0x20, 0x20, 0x20, 0x20, 0x00,      // Code for char _
00415         0x02, 0x04, 0x00, 0x00, 0x00, 0x00,      // Code for char `
00416         0x3E, 0x0A, 0x0A, 0x0A, 0x3E, 0x00,      // Code for char a
00417         0x3E, 0x2A, 0x2A, 0x2A, 0x1C, 0x00,      // Code for char b
00418         0x3E, 0x22, 0x22, 0x22, 0x22, 0x00,      // Code for char c
00419         0x3E, 0x22, 0x22, 0x22, 0x1C, 0x00,      // Code for char d
00420         0x3E, 0x2A, 0x2A, 0x2A, 0x2A, 0x00,      // Code for char e
00421         0x3E, 0x0A, 0x0A, 0x0A, 0x0A, 0x00,      // Code for char f
00422         0x3E, 0x22, 0x2A, 0x2A, 0x3A, 0x00,      // Code for char g
00423         0x3E, 0x08, 0x08, 0x08, 0x3E, 0x00,      // Code for char h
00424         0x22, 0x3E, 0x22, 0x00, 0x00, 0x00,      // Code for char i
00425         0x10, 0x20, 0x22, 0x22, 0x1E, 0x00,      // Code for char j
00426         0x3E, 0x08, 0x08, 0x14, 0x22, 0x00,      // Code for char k
00427         0x3E, 0x20, 0x20, 0x20, 0x20, 0x00,      // Code for char l
00428         0x3E, 0x04, 0x08, 0x04, 0x3E, 0x00,      // Code for char m
00429         0x3E, 0x04, 0x08, 0x10, 0x3E, 0x00,      // Code for char n
00430         0x3E, 0x22, 0x22, 0x22, 0x3E, 0x00,      // Code for char o
00431         0x3E, 0x0A, 0x0A, 0x0A, 0x0E, 0x00,      // Code for char p
00432         0x3E, 0x22, 0x22, 0x32, 0x3E, 0x00,      // Code for char q
00433         0x3E, 0x0A, 0x0A, 0x3A, 0x2E, 0x00,      // Code for char r
00434         0x2E, 0x2A, 0x2A, 0x2A, 0x3A, 0x00,      // Code for char s
00435         0x02, 0x02, 0x3E, 0x02, 0x02, 0x00,      // Code for char t
00436         0x3E, 0x20, 0x20, 0x20, 0x3E, 0x00,      // Code for char u
00437         0x0E, 0x10, 0x20, 0x10, 0x0E, 0x00,      // Code for char v
00438         0x1E, 0x20, 0x1E, 0x20, 0x1E, 0x00,      // Code for char w
00439         0x22, 0x14, 0x08, 0x14, 0x22, 0x00,      // Code for char x
00440         0x06, 0x08, 0x30, 0x08, 0x06, 0x00,      // Code for char y
00441         0x22, 0x32, 0x2A, 0x26, 0x22, 0x00,      // Code for char z
00442         0x08, 0x36, 0x22, 0x00, 0x00, 0x00,      // Code for char {
00443         0x3E, 0x00, 0x00, 0x00, 0x00, 0x00,      // Code for char |
00444         0x22, 0x36, 0x08, 0x00, 0x00, 0x00,      // Code for char }
00445         0x04, 0x02, 0x04, 0x02, 0x00, 0x00,      // Code for char ~
00446         0x3F, 0x21, 0x3F, 0x00, 0x00, 0x00       // Code for char
00447 };
00448 
00449 #endif