Nokia 5110 Library

Committer:
andresiforware2018
Date:
Wed Jan 15 16:41:35 2020 +0000
Revision:
50:c299b1099189
Parent:
48:af12980ac515
Child:
51:f3b30020324f
N5110

Who changed what in which revision?

UserRevisionLine numberNew contents of line
eencae 25:444e55e2e419 1 #ifndef N5110_H
eencae 25:444e55e2e419 2 #define N5110_H
eencae 25:444e55e2e419 3
eencae 25:444e55e2e419 4 #include "mbed.h"
eencae 1:df68f34cd32d 5
eencae 48:af12980ac515 6 // number of pixels on display
eencae 48:af12980ac515 7 #define WIDTH 84
eencae 48:af12980ac515 8 #define HEIGHT 48
eencae 48:af12980ac515 9 #define BANKS 6
eencae 48:af12980ac515 10
eencae 48:af12980ac515 11 /// Fill types for 2D shapes
eencae 48:af12980ac515 12 enum FillType {
eencae 48:af12980ac515 13 FILL_TRANSPARENT, ///< Transparent with outline
eencae 48:af12980ac515 14 FILL_BLACK, ///< Filled black
eencae 48:af12980ac515 15 FILL_WHITE, ///< Filled white (no outline)
eencae 48:af12980ac515 16 };
eencae 48:af12980ac515 17
eencae 25:444e55e2e419 18 /** N5110 Class
eencae 24:342bdb6679a1 19 @brief Library for interfacing with Nokia 5110 LCD display (https://www.sparkfun.com/products/10168) using the hardware SPI on the mbed.
eencae 24:342bdb6679a1 20 @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).
eencae 24:342bdb6679a1 21 @brief Can print characters and strings to the display using the included 5x7 font.
eencae 24:342bdb6679a1 22 @brief The library also implements a screen buffer so that individual pixels on the display (84 x 48) can be set, cleared and read.
eencae 24:342bdb6679a1 23 @brief The library can print primitive shapes (lines, circles, rectangles)
eencae 24:342bdb6679a1 24 @brief Acknowledgements to Chris Yan's Nokia_5110 Library.
eencae 24:342bdb6679a1 25
eencae 24:342bdb6679a1 26 @brief Revision 1.3
eencae 24:342bdb6679a1 27
eencae 24:342bdb6679a1 28 @author Craig A. Evans
eencae 24:342bdb6679a1 29 @date 7th February 2017
eencae 24:342bdb6679a1 30
eencae 24:342bdb6679a1 31 @code
eencae 24:342bdb6679a1 32
eencae 24:342bdb6679a1 33 #include "mbed.h"
eencae 24:342bdb6679a1 34 #include "N5110.h"
eencae 24:342bdb6679a1 35
eencae 37:c708b92609aa 36 // rows,cols
eencae 37:c708b92609aa 37 int sprite[8][5] = {
eencae 37:c708b92609aa 38 { 0,0,1,0,0 },
eencae 37:c708b92609aa 39 { 0,1,1,1,0 },
eencae 37:c708b92609aa 40 { 0,0,1,0,0 },
eencae 37:c708b92609aa 41 { 0,1,1,1,0 },
eencae 37:c708b92609aa 42 { 1,1,1,1,1 },
eencae 37:c708b92609aa 43 { 1,1,1,1,1 },
eencae 37:c708b92609aa 44 { 1,1,0,1,1 },
eencae 37:c708b92609aa 45 { 1,1,0,1,1 },
eencae 37:c708b92609aa 46 };
eencae 37:c708b92609aa 47
eencae 24:342bdb6679a1 48 // VCC,SCE,RST,D/C,MOSI,SCLK,LED
eencae 24:342bdb6679a1 49 //N5110 lcd(p7,p8,p9,p10,p11,p13,p21); // LPC1768 - pwr from GPIO
eencae 37:c708b92609aa 50 N5110 lcd(p8,p9,p10,p11,p13,p21); // LPC1768 - powered from +3V3 - JP1 in 2/3 position
eencae 37:c708b92609aa 51 //N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); // K64F - pwr from 3V3
eencae 24:342bdb6679a1 52
eencae 24:342bdb6679a1 53 int main()
eencae 24:342bdb6679a1 54 {
eencae 24:342bdb6679a1 55 // first need to initialise display
eencae 24:342bdb6679a1 56 lcd.init();
eencae 45:97e54ea40dac 57
eencae 45:97e54ea40dac 58 // change set contrast in range 0.0 to 1.0
eencae 45:97e54ea40dac 59 // 0.4 appears to be a good starting point
eencae 45:97e54ea40dac 60 lcd.setContrast(0.4);
eencae 24:342bdb6679a1 61
eencae 24:342bdb6679a1 62 while(1) {
eencae 24:342bdb6679a1 63
eencae 24:342bdb6679a1 64 // these are default settings so not strictly needed
eencae 24:342bdb6679a1 65 lcd.normalMode(); // normal colour mode
eencae 24:342bdb6679a1 66 lcd.setBrightness(0.5); // put LED backlight on 50%
eencae 24:342bdb6679a1 67
eencae 37:c708b92609aa 68 lcd.clear();
valavanisalex 42:596c207519de 69 // x origin, y origin, rows, cols, sprite
eencae 37:c708b92609aa 70 lcd.drawSprite(20,6,8,5,(int *)sprite);
eencae 37:c708b92609aa 71 lcd.refresh();
eencae 37:c708b92609aa 72 wait(5.0);
eencae 37:c708b92609aa 73
eencae 24:342bdb6679a1 74 lcd.clear(); // clear buffer at start of every loop
eencae 24:342bdb6679a1 75 // can directly print strings at specified co-ordinates (must be less than 84 pixels to fit on display)
eencae 24:342bdb6679a1 76 lcd.printString("Hello, World!",0,0);
eencae 24:342bdb6679a1 77
eencae 24:342bdb6679a1 78 char buffer[14]; // each character is 6 pixels wide, screen is 84 pixels (84/6 = 14)
eencae 24:342bdb6679a1 79 // so can display a string of a maximum 14 characters in length
eencae 24:342bdb6679a1 80 // or create formatted strings - ensure they aren't more than 14 characters long
eencae 24:342bdb6679a1 81 int temperature = 27;
eencae 24:342bdb6679a1 82 int length = sprintf(buffer,"T = %2d C",temperature); // print formatted data to buffer
eencae 24:342bdb6679a1 83 // it is important the format specifier ensures the length will fit in the buffer
eencae 24:342bdb6679a1 84 if (length <= 14) // if string will fit on display (assuming printing at x=0)
eencae 24:342bdb6679a1 85 lcd.printString(buffer,0,1); // display on screen
eencae 24:342bdb6679a1 86
eencae 24:342bdb6679a1 87 float pressure = 1012.3; // same idea with floats
eencae 24:342bdb6679a1 88 length = sprintf(buffer,"P = %.2f mb",pressure);
eencae 24:342bdb6679a1 89 if (length <= 14)
eencae 24:342bdb6679a1 90 lcd.printString(buffer,0,2);
eencae 24:342bdb6679a1 91
eencae 24:342bdb6679a1 92 // can also print individual characters at specified place
eencae 24:342bdb6679a1 93 lcd.printChar('X',5,3);
eencae 24:342bdb6679a1 94
eencae 24:342bdb6679a1 95 // draw a line across the display at y = 40 pixels (origin top-left)
eencae 24:342bdb6679a1 96 for (int i = 0; i < WIDTH; i++) {
eencae 46:6de3ebf5b195 97 lcd.setPixel(i,40,true);
eencae 24:342bdb6679a1 98 }
eencae 24:342bdb6679a1 99 // need to refresh display after setting pixels or writing strings
eencae 24:342bdb6679a1 100 lcd.refresh();
eencae 24:342bdb6679a1 101 wait(5.0);
valavanisalex 29:5bc91bd44c77 102
eencae 24:342bdb6679a1 103 // can check status of pixel using getPixel(x,y);
eencae 24:342bdb6679a1 104 lcd.clear(); // clear buffer
eencae 46:6de3ebf5b195 105 lcd.setPixel(2,2,true); // set random pixel in buffer
eencae 24:342bdb6679a1 106 lcd.refresh();
valavanisalex 29:5bc91bd44c77 107 wait(1.0);
valavanisalex 29:5bc91bd44c77 108
eencae 24:342bdb6679a1 109 int pixel_to_test = lcd.getPixel(2,2);
valavanisalex 29:5bc91bd44c77 110
eencae 24:342bdb6679a1 111 if ( pixel_to_test ) {
valavanisalex 29:5bc91bd44c77 112 lcd.printString("2,2 is set",0,4);
eencae 24:342bdb6679a1 113 }
valavanisalex 29:5bc91bd44c77 114
eencae 24:342bdb6679a1 115 // this one shouldn't be set
eencae 46:6de3ebf5b195 116 lcd.setPixel(3,3,false); // clear random pixel in buffer
eencae 46:6de3ebf5b195 117 lcd.refresh();
eencae 24:342bdb6679a1 118 pixel_to_test = lcd.getPixel(3,3);
valavanisalex 29:5bc91bd44c77 119
eencae 24:342bdb6679a1 120 if ( pixel_to_test == 0 ) {
valavanisalex 29:5bc91bd44c77 121 lcd.printString("3,3 is clear",0,5);
eencae 24:342bdb6679a1 122 }
valavanisalex 29:5bc91bd44c77 123
eencae 24:342bdb6679a1 124 lcd.refresh();
eencae 24:342bdb6679a1 125 wait(4.0);
valavanisalex 29:5bc91bd44c77 126
eencae 24:342bdb6679a1 127 lcd.clear(); // clear buffer
eencae 24:342bdb6679a1 128 lcd.inverseMode(); // invert colours
eencae 24:342bdb6679a1 129 lcd.setBrightness(1.0); // put LED backlight on full
eencae 24:342bdb6679a1 130
eencae 24:342bdb6679a1 131 float array[84];
eencae 24:342bdb6679a1 132
eencae 24:342bdb6679a1 133 for (int i = 0; i < 84; i++) {
eencae 24:342bdb6679a1 134 array[i] = 0.5 + 0.5*sin(i*2*3.14/84);
eencae 24:342bdb6679a1 135 }
eencae 24:342bdb6679a1 136
eencae 24:342bdb6679a1 137 // can also plot graphs - 84 elements only
eencae 24:342bdb6679a1 138 // values must be in range 0.0 - 1.0
eencae 24:342bdb6679a1 139 lcd.plotArray(array);
eencae 24:342bdb6679a1 140 lcd.refresh();
eencae 24:342bdb6679a1 141 wait(5.0);
valavanisalex 29:5bc91bd44c77 142
eencae 24:342bdb6679a1 143 lcd.clear();
eencae 24:342bdb6679a1 144 lcd.normalMode(); // normal colour mode back
eencae 24:342bdb6679a1 145 lcd.setBrightness(0.5); // put LED backlight on 50%
eencae 24:342bdb6679a1 146
eencae 24:342bdb6679a1 147 // example of drawing lines
eencae 24:342bdb6679a1 148 for (int x = 0; x < WIDTH ; x+=10) {
eencae 24:342bdb6679a1 149 // x0,y0,x1,y1,type 0-white,1-black,2-dotted
eencae 24:342bdb6679a1 150 lcd.drawLine(0,0,x,HEIGHT,2);
eencae 24:342bdb6679a1 151 }
eencae 24:342bdb6679a1 152 lcd.refresh(); // refresh after drawing shapes
eencae 24:342bdb6679a1 153 wait(5.0);
valavanisalex 29:5bc91bd44c77 154
valavanisalex 29:5bc91bd44c77 155
eencae 24:342bdb6679a1 156 lcd.clear();
eencae 24:342bdb6679a1 157 // example of how to draw circles
valavanisalex 33:d80e568a2e18 158 lcd.drawCircle(WIDTH/2,HEIGHT/2,20,FILL_BLACK); // x,y,radius,black fill
valavanisalex 33:d80e568a2e18 159 lcd.drawCircle(WIDTH/2,HEIGHT/2,10,FILL_WHITE); // x,y,radius,white fill
valavanisalex 33:d80e568a2e18 160 lcd.drawCircle(WIDTH/2,HEIGHT/2,30,FILL_TRANSPARENT); // x,y,radius,transparent with outline
eencae 24:342bdb6679a1 161 lcd.refresh(); // refresh after drawing shapes
eencae 24:342bdb6679a1 162 wait(5.0);
valavanisalex 29:5bc91bd44c77 163
eencae 24:342bdb6679a1 164 lcd.clear();
eencae 24:342bdb6679a1 165 // example of how to draw rectangles
eencae 24:342bdb6679a1 166 // origin x,y,width,height,type
valavanisalex 33:d80e568a2e18 167 lcd.drawRect(10,10,50,30,FILL_BLACK); // filled black rectangle
valavanisalex 33:d80e568a2e18 168 lcd.drawRect(15,15,20,10,FILL_WHITE); // filled white rectange (no outline)
eencae 37:c708b92609aa 169 lcd.drawRect(2,2,70,40,FILL_TRANSPARENT); // transparent, just outline
eencae 24:342bdb6679a1 170 lcd.refresh(); // refresh after drawing shapes
eencae 24:342bdb6679a1 171 wait(5.0);
eencae 37:c708b92609aa 172
eencae 24:342bdb6679a1 173 }
eencae 24:342bdb6679a1 174 }
eencae 24:342bdb6679a1 175
eencae 37:c708b92609aa 176
eencae 24:342bdb6679a1 177 @endcode
eencae 0:d563e74f0ae9 178 */
eencae 1:df68f34cd32d 179 class N5110
eencae 1:df68f34cd32d 180 {
valavanisalex 29:5bc91bd44c77 181 private:
valavanisalex 29:5bc91bd44c77 182 // objects
valavanisalex 29:5bc91bd44c77 183 SPI *_spi;
valavanisalex 29:5bc91bd44c77 184 PwmOut *_led;
valavanisalex 29:5bc91bd44c77 185 DigitalOut *_pwr;
valavanisalex 29:5bc91bd44c77 186 DigitalOut *_sce;
valavanisalex 29:5bc91bd44c77 187 DigitalOut *_rst;
valavanisalex 29:5bc91bd44c77 188 DigitalOut *_dc;
valavanisalex 29:5bc91bd44c77 189
valavanisalex 29:5bc91bd44c77 190 // variables
valavanisalex 29:5bc91bd44c77 191 unsigned char buffer[84][6]; // screen buffer - the 6 is for the banks - each one is 8 bits;
eencae 0:d563e74f0ae9 192
eencae 1:df68f34cd32d 193 public:
valavanisalex 29:5bc91bd44c77 194 /** Create a N5110 object connected to the specified pins
valavanisalex 29:5bc91bd44c77 195 *
valavanisalex 29:5bc91bd44c77 196 * @param pwr Pin connected to Vcc on the LCD display (pin 1)
valavanisalex 29:5bc91bd44c77 197 * @param sce Pin connected to chip enable (pin 3)
valavanisalex 29:5bc91bd44c77 198 * @param rst Pin connected to reset (pin 4)
valavanisalex 29:5bc91bd44c77 199 * @param dc Pin connected to data/command select (pin 5)
valavanisalex 29:5bc91bd44c77 200 * @param mosi Pin connected to data input (MOSI) (pin 6)
valavanisalex 29:5bc91bd44c77 201 * @param sclk Pin connected to serial clock (SCLK) (pin 7)
valavanisalex 29:5bc91bd44c77 202 * @param led Pin connected to LED backlight (must be PWM) (pin 8)
valavanisalex 29:5bc91bd44c77 203 *
valavanisalex 29:5bc91bd44c77 204 */
valavanisalex 29:5bc91bd44c77 205 N5110(PinName const pwrPin,
valavanisalex 29:5bc91bd44c77 206 PinName const scePin,
valavanisalex 29:5bc91bd44c77 207 PinName const rstPin,
valavanisalex 29:5bc91bd44c77 208 PinName const dcPin,
valavanisalex 29:5bc91bd44c77 209 PinName const mosiPin,
valavanisalex 29:5bc91bd44c77 210 PinName const sclkPin,
valavanisalex 29:5bc91bd44c77 211 PinName const ledPin);
eencae 17:780a542d5f8b 212
valavanisalex 29:5bc91bd44c77 213 /** Create a N5110 object connected to the specified pins (Vcc to +3V3)
valavanisalex 29:5bc91bd44c77 214 *
valavanisalex 29:5bc91bd44c77 215 * @param sce Pin connected to chip enable (pin 3)
valavanisalex 29:5bc91bd44c77 216 * @param rst Pin connected to reset (pin 4)
valavanisalex 29:5bc91bd44c77 217 * @param dc Pin connected to data/command select (pin 5)
valavanisalex 29:5bc91bd44c77 218 * @param mosi Pin connected to data input (MOSI) (pin 6)
valavanisalex 29:5bc91bd44c77 219 * @param sclk Pin connected to serial clock (SCLK) (pin 7)
valavanisalex 29:5bc91bd44c77 220 * @param led Pin connected to LED backlight (must be PWM) (pin 8)
valavanisalex 29:5bc91bd44c77 221 *
valavanisalex 29:5bc91bd44c77 222 */
valavanisalex 29:5bc91bd44c77 223 N5110(PinName const scePin,
valavanisalex 29:5bc91bd44c77 224 PinName const rstPin,
valavanisalex 29:5bc91bd44c77 225 PinName const dcPin,
valavanisalex 29:5bc91bd44c77 226 PinName const mosiPin,
valavanisalex 29:5bc91bd44c77 227 PinName const sclkPin,
valavanisalex 29:5bc91bd44c77 228 PinName const ledPin);
eencae 17:780a542d5f8b 229
valavanisalex 31:8a0c21042f82 230 /**
valavanisalex 31:8a0c21042f82 231 * Free allocated memory when object goes out of scope
valavanisalex 31:8a0c21042f82 232 */
valavanisalex 31:8a0c21042f82 233 ~N5110();
valavanisalex 31:8a0c21042f82 234
valavanisalex 29:5bc91bd44c77 235 /** Initialise display
valavanisalex 29:5bc91bd44c77 236 *
valavanisalex 29:5bc91bd44c77 237 * Powers up the display and turns on backlight (50% brightness default).
valavanisalex 29:5bc91bd44c77 238 * Sets the display up in horizontal addressing mode and with normal video mode.
valavanisalex 29:5bc91bd44c77 239 */
valavanisalex 29:5bc91bd44c77 240 void init();
eencae 17:780a542d5f8b 241
valavanisalex 29:5bc91bd44c77 242 /** Turn off
valavanisalex 29:5bc91bd44c77 243 *
valavanisalex 29:5bc91bd44c77 244 * Powers down the display and turns of the backlight.
valavanisalex 29:5bc91bd44c77 245 * Needs to be reinitialised before being re-used.
valavanisalex 29:5bc91bd44c77 246 */
valavanisalex 29:5bc91bd44c77 247 void turnOff();
eencae 17:780a542d5f8b 248
valavanisalex 29:5bc91bd44c77 249 /** Clear
valavanisalex 29:5bc91bd44c77 250 *
valavanisalex 29:5bc91bd44c77 251 * Clears the screen buffer.
valavanisalex 29:5bc91bd44c77 252 */
valavanisalex 29:5bc91bd44c77 253 void clear();
eencae 17:780a542d5f8b 254
eencae 44:57f9d32fb521 255 /** Set screen constrast
eencae 44:57f9d32fb521 256 * @param constrast - float in range 0.0 to 1.0 (0.40 to 0.60 is usually a good value)
eencae 44:57f9d32fb521 257 */
eencae 44:57f9d32fb521 258 void setContrast(float contrast);
eencae 44:57f9d32fb521 259
valavanisalex 29:5bc91bd44c77 260 /** Turn on normal video mode (default)
valavanisalex 29:5bc91bd44c77 261 * Black on white
valavanisalex 29:5bc91bd44c77 262 */
valavanisalex 29:5bc91bd44c77 263 void normalMode();
valavanisalex 29:5bc91bd44c77 264
valavanisalex 29:5bc91bd44c77 265 /** Turn on inverse video mode (default)
valavanisalex 29:5bc91bd44c77 266 * White on black
valavanisalex 29:5bc91bd44c77 267 */
valavanisalex 29:5bc91bd44c77 268 void inverseMode();
eencae 17:780a542d5f8b 269
valavanisalex 29:5bc91bd44c77 270 /** Set Brightness
valavanisalex 29:5bc91bd44c77 271 *
valavanisalex 29:5bc91bd44c77 272 * Sets brightness of LED backlight.
valavanisalex 29:5bc91bd44c77 273 * @param brightness - float in range 0.0 to 1.0
valavanisalex 29:5bc91bd44c77 274 */
valavanisalex 29:5bc91bd44c77 275 void setBrightness(float const brightness);
eencae 17:780a542d5f8b 276
valavanisalex 29:5bc91bd44c77 277 /** Print String
valavanisalex 29:5bc91bd44c77 278 *
valavanisalex 29:5bc91bd44c77 279 * Prints a string of characters to the screen buffer. String is cut-off after the 83rd pixel.
valavanisalex 29:5bc91bd44c77 280 * @param x - the column number (0 to 83)
valavanisalex 29:5bc91bd44c77 281 * @param y - the row number (0 to 5) - the display is split into 6 banks - each bank can be considered a row
valavanisalex 29:5bc91bd44c77 282 */
valavanisalex 29:5bc91bd44c77 283 void printString(char const *str,
valavanisalex 29:5bc91bd44c77 284 unsigned int const x,
valavanisalex 29:5bc91bd44c77 285 unsigned int const y);
eencae 17:780a542d5f8b 286
valavanisalex 29:5bc91bd44c77 287 /** Print Character
valavanisalex 29:5bc91bd44c77 288 *
valavanisalex 29:5bc91bd44c77 289 * Sends a character to the screen buffer. Printed at the specified location. Character is cut-off after the 83rd pixel.
valavanisalex 29:5bc91bd44c77 290 * @param c - the character to print. Can print ASCII as so printChar('C').
valavanisalex 29:5bc91bd44c77 291 * @param x - the column number (0 to 83)
valavanisalex 29:5bc91bd44c77 292 * @param y - the row number (0 to 5) - the display is split into 6 banks - each bank can be considered a row
valavanisalex 29:5bc91bd44c77 293 */
valavanisalex 29:5bc91bd44c77 294 void printChar(char const c,
valavanisalex 29:5bc91bd44c77 295 unsigned int const x,
valavanisalex 29:5bc91bd44c77 296 unsigned int const y);
eencae 17:780a542d5f8b 297
valavanisalex 42:596c207519de 298 /**
valavanisalex 42:596c207519de 299 * @brief Set a Pixel
valavanisalex 29:5bc91bd44c77 300 *
valavanisalex 42:596c207519de 301 * @param x The x co-ordinate of the pixel (0 to 83)
valavanisalex 42:596c207519de 302 * @param y The y co-ordinate of the pixel (0 to 47)
valavanisalex 42:596c207519de 303 * @param state The state of the pixel [true=black (default), false=white]
valavanisalex 42:596c207519de 304 *
valavanisalex 42:596c207519de 305 * @details This function sets the state of a pixel in the screen buffer.
valavanisalex 42:596c207519de 306 * The third parameter can be omitted,
valavanisalex 29:5bc91bd44c77 307 */
valavanisalex 29:5bc91bd44c77 308 void setPixel(unsigned int const x,
valavanisalex 42:596c207519de 309 unsigned int const y,
valavanisalex 42:596c207519de 310 bool const state = true);
eencae 17:780a542d5f8b 311
valavanisalex 42:596c207519de 312 /**
valavanisalex 42:596c207519de 313 * @brief Clear a Pixel
valavanisalex 29:5bc91bd44c77 314 *
valavanisalex 29:5bc91bd44c77 315 * @param x - the x co-ordinate of the pixel (0 to 83)
valavanisalex 29:5bc91bd44c77 316 * @param y - the y co-ordinate of the pixel (0 to 47)
valavanisalex 42:596c207519de 317 *
valavanisalex 42:596c207519de 318 * @details This function clears pixel in the screen buffer
valavanisalex 42:596c207519de 319 *
valavanisalex 42:596c207519de 320 * @deprecated Use setPixel(x, y, false) instead
valavanisalex 29:5bc91bd44c77 321 */
valavanisalex 29:5bc91bd44c77 322 void clearPixel(unsigned int const x,
valavanisalex 42:596c207519de 323 unsigned int const y)
valavanisalex 42:596c207519de 324 __attribute__((deprecated("Use setPixel(x,y,false) instead")));
eencae 17:780a542d5f8b 325
valavanisalex 29:5bc91bd44c77 326 /** Get a Pixel
valavanisalex 29:5bc91bd44c77 327 *
valavanisalex 29:5bc91bd44c77 328 * This function gets the status of a pixel in the screen buffer.
valavanisalex 29:5bc91bd44c77 329 * @param x - the x co-ordinate of the pixel (0 to 83)
valavanisalex 29:5bc91bd44c77 330 * @param y - the y co-ordinate of the pixel (0 to 47)
valavanisalex 29:5bc91bd44c77 331 * @returns
valavanisalex 29:5bc91bd44c77 332 * 0 - pixel is clear
valavanisalex 29:5bc91bd44c77 333 * 1 - pixel is set
valavanisalex 29:5bc91bd44c77 334 */
valavanisalex 29:5bc91bd44c77 335 int getPixel(unsigned int const x,
valavanisalex 29:5bc91bd44c77 336 unsigned int const y) const;
eencae 17:780a542d5f8b 337
valavanisalex 29:5bc91bd44c77 338 /** Refresh display
valavanisalex 29:5bc91bd44c77 339 *
valavanisalex 29:5bc91bd44c77 340 * This functions sends the screen buffer to the display.
valavanisalex 29:5bc91bd44c77 341 */
valavanisalex 29:5bc91bd44c77 342 void refresh();
valavanisalex 29:5bc91bd44c77 343
valavanisalex 29:5bc91bd44c77 344 /** Randomise buffer
valavanisalex 29:5bc91bd44c77 345 *
valavanisalex 29:5bc91bd44c77 346 * This function fills the buffer with random data. Can be used to test the display.
valavanisalex 29:5bc91bd44c77 347 * A call to refresh() must be made to update the display to reflect the change in pixels.
valavanisalex 29:5bc91bd44c77 348 * The seed is not set and so the generated pattern will probably be the same each time.
valavanisalex 29:5bc91bd44c77 349 * TODO: Randomise the seed - maybe using the noise on the AnalogIn pins.
valavanisalex 29:5bc91bd44c77 350 */
valavanisalex 29:5bc91bd44c77 351 void randomiseBuffer();
eencae 17:780a542d5f8b 352
valavanisalex 29:5bc91bd44c77 353 /** Plot Array
valavanisalex 29:5bc91bd44c77 354 *
valavanisalex 29:5bc91bd44c77 355 * This function plots a one-dimensional array in the buffer.
valavanisalex 29:5bc91bd44c77 356 * @param array[] - y values of the plot. Values should be normalised in the range 0.0 to 1.0. First 84 plotted.
valavanisalex 29:5bc91bd44c77 357 */
valavanisalex 29:5bc91bd44c77 358 void plotArray(float const array[]);
eencae 17:780a542d5f8b 359
valavanisalex 29:5bc91bd44c77 360 /** Draw Circle
valavanisalex 29:5bc91bd44c77 361 *
valavanisalex 29:5bc91bd44c77 362 * This function draws a circle at the specified origin with specified radius in the screen buffer
valavanisalex 29:5bc91bd44c77 363 * Uses the midpoint circle algorithm.
valavanisalex 29:5bc91bd44c77 364 * @see http://en.wikipedia.org/wiki/Midpoint_circle_algorithm
valavanisalex 33:d80e568a2e18 365 * @param x0 - x-coordinate of centre
valavanisalex 33:d80e568a2e18 366 * @param y0 - y-coordinate of centre
valavanisalex 29:5bc91bd44c77 367 * @param radius - radius of circle in pixels
valavanisalex 33:d80e568a2e18 368 * @param fill - fill-type for the shape
valavanisalex 29:5bc91bd44c77 369 */
valavanisalex 29:5bc91bd44c77 370 void drawCircle(unsigned int const x0,
valavanisalex 29:5bc91bd44c77 371 unsigned int const y0,
valavanisalex 29:5bc91bd44c77 372 unsigned int const radius,
valavanisalex 33:d80e568a2e18 373 FillType const fill);
eencae 1:df68f34cd32d 374
valavanisalex 29:5bc91bd44c77 375 /** Draw Line
valavanisalex 29:5bc91bd44c77 376 *
valavanisalex 29:5bc91bd44c77 377 * This function draws a line between the specified points using linear interpolation.
valavanisalex 29:5bc91bd44c77 378 * @param x0 - x-coordinate of first point
valavanisalex 29:5bc91bd44c77 379 * @param y0 - y-coordinate of first point
valavanisalex 29:5bc91bd44c77 380 * @param x1 - x-coordinate of last point
valavanisalex 29:5bc91bd44c77 381 * @param y1 - y-coordinate of last point
valavanisalex 29:5bc91bd44c77 382 * @param type - 0 white,1 black,2 dotted
valavanisalex 29:5bc91bd44c77 383 */
valavanisalex 29:5bc91bd44c77 384 void drawLine(unsigned int const x0,
valavanisalex 29:5bc91bd44c77 385 unsigned int const y0,
valavanisalex 29:5bc91bd44c77 386 unsigned int const x1,
valavanisalex 29:5bc91bd44c77 387 unsigned int const y1,
valavanisalex 29:5bc91bd44c77 388 unsigned int const type);
eencae 17:780a542d5f8b 389
valavanisalex 29:5bc91bd44c77 390 /** Draw Rectangle
valavanisalex 29:5bc91bd44c77 391 *
valavanisalex 29:5bc91bd44c77 392 * This function draws a rectangle.
valavanisalex 29:5bc91bd44c77 393 * @param x0 - x-coordinate of origin (top-left)
valavanisalex 29:5bc91bd44c77 394 * @param y0 - y-coordinate of origin (top-left)
valavanisalex 29:5bc91bd44c77 395 * @param width - width of rectangle
valavanisalex 29:5bc91bd44c77 396 * @param height - height of rectangle
valavanisalex 33:d80e568a2e18 397 * @param fill - fill-type for the shape
valavanisalex 29:5bc91bd44c77 398 */
valavanisalex 29:5bc91bd44c77 399 void drawRect(unsigned int const x0,
valavanisalex 29:5bc91bd44c77 400 unsigned int const y0,
valavanisalex 29:5bc91bd44c77 401 unsigned int const width,
valavanisalex 29:5bc91bd44c77 402 unsigned int const height,
valavanisalex 33:d80e568a2e18 403 FillType const fill);
eencae 17:780a542d5f8b 404
eencae 36:00ebd449b6f3 405 /** Draw Sprite
eencae 36:00ebd449b6f3 406 *
eencae 36:00ebd449b6f3 407 * This function draws a sprite as defined in a 2D array
eencae 36:00ebd449b6f3 408 * @param x0 - x-coordinate of origin (top-left)
eencae 36:00ebd449b6f3 409 * @param y0 - y-coordinate of origin (top-left)
eencae 36:00ebd449b6f3 410 * @param nrows - number of rows in sprite
eencae 36:00ebd449b6f3 411 * @param ncols - number of columns in sprite
eencae 36:00ebd449b6f3 412 * @param sprite - 2D array representing the sprite
eencae 36:00ebd449b6f3 413 */
eencae 36:00ebd449b6f3 414 void drawSprite(int x0,
eencae 36:00ebd449b6f3 415 int y0,
eencae 36:00ebd449b6f3 416 int nrows,
eencae 36:00ebd449b6f3 417 int ncols,
eencae 46:6de3ebf5b195 418 int *sprite);
valavanisalex 42:596c207519de 419
valavanisalex 42:596c207519de 420
eencae 1:df68f34cd32d 421 private:
eencae 24:342bdb6679a1 422 // methods
valavanisalex 29:5bc91bd44c77 423 void setXYAddress(unsigned int const x,
valavanisalex 29:5bc91bd44c77 424 unsigned int const y);
valavanisalex 29:5bc91bd44c77 425 void initSPI();
valavanisalex 29:5bc91bd44c77 426 void turnOn();
valavanisalex 29:5bc91bd44c77 427 void reset();
valavanisalex 29:5bc91bd44c77 428 void clearRAM();
valavanisalex 29:5bc91bd44c77 429 void sendCommand(unsigned char command);
valavanisalex 29:5bc91bd44c77 430 void sendData(unsigned char data);
eencae 44:57f9d32fb521 431 void setTempCoefficient(char tc); // 0 to 3
eencae 44:57f9d32fb521 432 void setBias(char bias); // 0 to 7
eencae 0:d563e74f0ae9 433 };
eencae 0:d563e74f0ae9 434
eencae 0:d563e74f0ae9 435 const unsigned char font5x7[480] = {
andresiforware2018 50:c299b1099189 436 0x0,
andresiforware2018 50:c299b1099189 437 0x0,
andresiforware2018 50:c299b1099189 438 0x0,
andresiforware2018 50:c299b1099189 439 0x0,
andresiforware2018 50:c299b1099189 440 0x0,
andresiforware2018 50:c299b1099189 441 0x0,
andresiforware2018 50:c299b1099189 442 0x0,
andresiforware2018 50:c299b1099189 443 0x7d,
andresiforware2018 50:c299b1099189 444 0x0,
andresiforware2018 50:c299b1099189 445 0x0,
andresiforware2018 50:c299b1099189 446 0x0,
andresiforware2018 50:c299b1099189 447 0x70,
andresiforware2018 50:c299b1099189 448 0x0,
andresiforware2018 50:c299b1099189 449 0x70,
andresiforware2018 50:c299b1099189 450 0x0,
andresiforware2018 50:c299b1099189 451 0x14,
andresiforware2018 50:c299b1099189 452 0x7f,
andresiforware2018 50:c299b1099189 453 0x14,
andresiforware2018 50:c299b1099189 454 0x7f,
andresiforware2018 50:c299b1099189 455 0x14,
andresiforware2018 50:c299b1099189 456 0x12,
andresiforware2018 50:c299b1099189 457 0x2a,
andresiforware2018 50:c299b1099189 458 0x7f,
andresiforware2018 50:c299b1099189 459 0x2a,
andresiforware2018 50:c299b1099189 460 0x24,
andresiforware2018 50:c299b1099189 461 0x62,
andresiforware2018 50:c299b1099189 462 0x64,
andresiforware2018 50:c299b1099189 463 0x8,
andresiforware2018 50:c299b1099189 464 0x13,
andresiforware2018 50:c299b1099189 465 0x23,
andresiforware2018 50:c299b1099189 466 0x36,
andresiforware2018 50:c299b1099189 467 0x49,
andresiforware2018 50:c299b1099189 468 0x55,
andresiforware2018 50:c299b1099189 469 0x22,
andresiforware2018 50:c299b1099189 470 0x5,
andresiforware2018 50:c299b1099189 471 0x0,
andresiforware2018 50:c299b1099189 472 0x50,
andresiforware2018 50:c299b1099189 473 0x60,
andresiforware2018 50:c299b1099189 474 0x0,
andresiforware2018 50:c299b1099189 475 0x0,
andresiforware2018 50:c299b1099189 476 0x0,
andresiforware2018 50:c299b1099189 477 0x1c,
andresiforware2018 50:c299b1099189 478 0x22,
andresiforware2018 50:c299b1099189 479 0x41,
andresiforware2018 50:c299b1099189 480 0x0,
andresiforware2018 50:c299b1099189 481 0x0,
andresiforware2018 50:c299b1099189 482 0x41,
andresiforware2018 50:c299b1099189 483 0x22,
andresiforware2018 50:c299b1099189 484 0x1c,
andresiforware2018 50:c299b1099189 485 0x0,
andresiforware2018 50:c299b1099189 486 0x8,
andresiforware2018 50:c299b1099189 487 0x2a,
andresiforware2018 50:c299b1099189 488 0x1c,
andresiforware2018 50:c299b1099189 489 0x2a,
andresiforware2018 50:c299b1099189 490 0x8,
andresiforware2018 50:c299b1099189 491 0x8,
andresiforware2018 50:c299b1099189 492 0x8,
andresiforware2018 50:c299b1099189 493 0x3e,
andresiforware2018 50:c299b1099189 494 0x8,
andresiforware2018 50:c299b1099189 495 0x8,
andresiforware2018 50:c299b1099189 496 0x0,
andresiforware2018 50:c299b1099189 497 0x5,
andresiforware2018 50:c299b1099189 498 0x6,
andresiforware2018 50:c299b1099189 499 0x0,
andresiforware2018 50:c299b1099189 500 0x0,
andresiforware2018 50:c299b1099189 501 0x8,
andresiforware2018 50:c299b1099189 502 0x8,
andresiforware2018 50:c299b1099189 503 0x8,
andresiforware2018 50:c299b1099189 504 0x8,
andresiforware2018 50:c299b1099189 505 0x8,
andresiforware2018 50:c299b1099189 506 0x0,
andresiforware2018 50:c299b1099189 507 0x3,
andresiforware2018 50:c299b1099189 508 0x3,
andresiforware2018 50:c299b1099189 509 0x0,
andresiforware2018 50:c299b1099189 510 0x0,
andresiforware2018 50:c299b1099189 511 0x2,
andresiforware2018 50:c299b1099189 512 0x4,
andresiforware2018 50:c299b1099189 513 0x8,
andresiforware2018 50:c299b1099189 514 0x10,
andresiforware2018 50:c299b1099189 515 0x20,
andresiforware2018 50:c299b1099189 516 0x3e,
andresiforware2018 50:c299b1099189 517 0x45,
andresiforware2018 50:c299b1099189 518 0x49,
andresiforware2018 50:c299b1099189 519 0x51,
andresiforware2018 50:c299b1099189 520 0x3e,
andresiforware2018 50:c299b1099189 521 0x0,
andresiforware2018 50:c299b1099189 522 0x21,
andresiforware2018 50:c299b1099189 523 0x7f,
andresiforware2018 50:c299b1099189 524 0x1,
andresiforware2018 50:c299b1099189 525 0x0,
andresiforware2018 50:c299b1099189 526 0x21,
andresiforware2018 50:c299b1099189 527 0x43,
andresiforware2018 50:c299b1099189 528 0x45,
andresiforware2018 50:c299b1099189 529 0x49,
andresiforware2018 50:c299b1099189 530 0x31,
andresiforware2018 50:c299b1099189 531 0x42,
andresiforware2018 50:c299b1099189 532 0x41,
andresiforware2018 50:c299b1099189 533 0x51,
andresiforware2018 50:c299b1099189 534 0x69,
andresiforware2018 50:c299b1099189 535 0x46,
andresiforware2018 50:c299b1099189 536 0xc,
andresiforware2018 50:c299b1099189 537 0x14,
andresiforware2018 50:c299b1099189 538 0x24,
andresiforware2018 50:c299b1099189 539 0x7f,
andresiforware2018 50:c299b1099189 540 0x4,
andresiforware2018 50:c299b1099189 541 0x72,
andresiforware2018 50:c299b1099189 542 0x51,
andresiforware2018 50:c299b1099189 543 0x51,
andresiforware2018 50:c299b1099189 544 0x51,
andresiforware2018 50:c299b1099189 545 0x4e,
andresiforware2018 50:c299b1099189 546 0x1e,
andresiforware2018 50:c299b1099189 547 0x29,
andresiforware2018 50:c299b1099189 548 0x49,
andresiforware2018 50:c299b1099189 549 0x49,
andresiforware2018 50:c299b1099189 550 0x6,
andresiforware2018 50:c299b1099189 551 0x40,
andresiforware2018 50:c299b1099189 552 0x47,
andresiforware2018 50:c299b1099189 553 0x48,
andresiforware2018 50:c299b1099189 554 0x50,
andresiforware2018 50:c299b1099189 555 0x60,
andresiforware2018 50:c299b1099189 556 0x36,
andresiforware2018 50:c299b1099189 557 0x49,
andresiforware2018 50:c299b1099189 558 0x49,
andresiforware2018 50:c299b1099189 559 0x49,
andresiforware2018 50:c299b1099189 560 0x36,
andresiforware2018 50:c299b1099189 561 0x30,
andresiforware2018 50:c299b1099189 562 0x49,
andresiforware2018 50:c299b1099189 563 0x49,
andresiforware2018 50:c299b1099189 564 0x4a,
andresiforware2018 50:c299b1099189 565 0x3c,
andresiforware2018 50:c299b1099189 566 0x0,
andresiforware2018 50:c299b1099189 567 0x36,
andresiforware2018 50:c299b1099189 568 0x36,
andresiforware2018 50:c299b1099189 569 0x0,
andresiforware2018 50:c299b1099189 570 0x0,
andresiforware2018 50:c299b1099189 571 0x0,
andresiforware2018 50:c299b1099189 572 0x35,
andresiforware2018 50:c299b1099189 573 0x36,
andresiforware2018 50:c299b1099189 574 0x0,
andresiforware2018 50:c299b1099189 575 0x0,
andresiforware2018 50:c299b1099189 576 0x0,
andresiforware2018 50:c299b1099189 577 0x8,
andresiforware2018 50:c299b1099189 578 0x14,
andresiforware2018 50:c299b1099189 579 0x22,
andresiforware2018 50:c299b1099189 580 0x41,
andresiforware2018 50:c299b1099189 581 0x14,
andresiforware2018 50:c299b1099189 582 0x14,
andresiforware2018 50:c299b1099189 583 0x14,
andresiforware2018 50:c299b1099189 584 0x14,
andresiforware2018 50:c299b1099189 585 0x14,
andresiforware2018 50:c299b1099189 586 0x41,
andresiforware2018 50:c299b1099189 587 0x22,
andresiforware2018 50:c299b1099189 588 0x14,
andresiforware2018 50:c299b1099189 589 0x8,
andresiforware2018 50:c299b1099189 590 0x0,
andresiforware2018 50:c299b1099189 591 0x20,
andresiforware2018 50:c299b1099189 592 0x40,
andresiforware2018 50:c299b1099189 593 0x45,
andresiforware2018 50:c299b1099189 594 0x48,
andresiforware2018 50:c299b1099189 595 0x30,
andresiforware2018 50:c299b1099189 596 0x26,
andresiforware2018 50:c299b1099189 597 0x49,
andresiforware2018 50:c299b1099189 598 0x4f,
andresiforware2018 50:c299b1099189 599 0x41,
andresiforware2018 50:c299b1099189 600 0x3e,
andresiforware2018 50:c299b1099189 601 0x3f,
andresiforware2018 50:c299b1099189 602 0x44,
andresiforware2018 50:c299b1099189 603 0x44,
andresiforware2018 50:c299b1099189 604 0x44,
andresiforware2018 50:c299b1099189 605 0x3f,
andresiforware2018 50:c299b1099189 606 0x7f,
andresiforware2018 50:c299b1099189 607 0x49,
andresiforware2018 50:c299b1099189 608 0x49,
andresiforware2018 50:c299b1099189 609 0x49,
andresiforware2018 50:c299b1099189 610 0x36,
andresiforware2018 50:c299b1099189 611 0x3e,
andresiforware2018 50:c299b1099189 612 0x41,
andresiforware2018 50:c299b1099189 613 0x41,
andresiforware2018 50:c299b1099189 614 0x41,
andresiforware2018 50:c299b1099189 615 0x22,
andresiforware2018 50:c299b1099189 616 0x7f,
andresiforware2018 50:c299b1099189 617 0x41,
andresiforware2018 50:c299b1099189 618 0x41,
andresiforware2018 50:c299b1099189 619 0x22,
andresiforware2018 50:c299b1099189 620 0x1c,
andresiforware2018 50:c299b1099189 621 0x7f,
andresiforware2018 50:c299b1099189 622 0x49,
andresiforware2018 50:c299b1099189 623 0x49,
andresiforware2018 50:c299b1099189 624 0x49,
andresiforware2018 50:c299b1099189 625 0x41,
andresiforware2018 50:c299b1099189 626 0x7f,
andresiforware2018 50:c299b1099189 627 0x48,
andresiforware2018 50:c299b1099189 628 0x48,
andresiforware2018 50:c299b1099189 629 0x40,
andresiforware2018 50:c299b1099189 630 0x40,
andresiforware2018 50:c299b1099189 631 0x3e,
andresiforware2018 50:c299b1099189 632 0x41,
andresiforware2018 50:c299b1099189 633 0x41,
andresiforware2018 50:c299b1099189 634 0x45,
andresiforware2018 50:c299b1099189 635 0x26,
andresiforware2018 50:c299b1099189 636 0x7f,
andresiforware2018 50:c299b1099189 637 0x8,
andresiforware2018 50:c299b1099189 638 0x8,
andresiforware2018 50:c299b1099189 639 0x8,
andresiforware2018 50:c299b1099189 640 0x7f,
andresiforware2018 50:c299b1099189 641 0x0,
andresiforware2018 50:c299b1099189 642 0x41,
andresiforware2018 50:c299b1099189 643 0x7f,
andresiforware2018 50:c299b1099189 644 0x41,
andresiforware2018 50:c299b1099189 645 0x0,
andresiforware2018 50:c299b1099189 646 0x2,
andresiforware2018 50:c299b1099189 647 0x1,
andresiforware2018 50:c299b1099189 648 0x41,
andresiforware2018 50:c299b1099189 649 0x7e,
andresiforware2018 50:c299b1099189 650 0x40,
andresiforware2018 50:c299b1099189 651 0x7f,
andresiforware2018 50:c299b1099189 652 0x8,
andresiforware2018 50:c299b1099189 653 0x14,
andresiforware2018 50:c299b1099189 654 0x22,
andresiforware2018 50:c299b1099189 655 0x41,
andresiforware2018 50:c299b1099189 656 0x7f,
andresiforware2018 50:c299b1099189 657 0x1,
andresiforware2018 50:c299b1099189 658 0x1,
andresiforware2018 50:c299b1099189 659 0x1,
andresiforware2018 50:c299b1099189 660 0x1,
andresiforware2018 50:c299b1099189 661 0x7f,
andresiforware2018 50:c299b1099189 662 0x20,
andresiforware2018 50:c299b1099189 663 0x10,
andresiforware2018 50:c299b1099189 664 0x20,
andresiforware2018 50:c299b1099189 665 0x7f,
andresiforware2018 50:c299b1099189 666 0x7f,
andresiforware2018 50:c299b1099189 667 0x10,
andresiforware2018 50:c299b1099189 668 0x8,
andresiforware2018 50:c299b1099189 669 0x4,
andresiforware2018 50:c299b1099189 670 0x7f,
andresiforware2018 50:c299b1099189 671 0x3e,
andresiforware2018 50:c299b1099189 672 0x41,
andresiforware2018 50:c299b1099189 673 0x41,
andresiforware2018 50:c299b1099189 674 0x41,
andresiforware2018 50:c299b1099189 675 0x3e,
andresiforware2018 50:c299b1099189 676 0x7f,
andresiforware2018 50:c299b1099189 677 0x48,
andresiforware2018 50:c299b1099189 678 0x48,
andresiforware2018 50:c299b1099189 679 0x48,
andresiforware2018 50:c299b1099189 680 0x30,
andresiforware2018 50:c299b1099189 681 0x3e,
andresiforware2018 50:c299b1099189 682 0x41,
andresiforware2018 50:c299b1099189 683 0x45,
andresiforware2018 50:c299b1099189 684 0x42,
andresiforware2018 50:c299b1099189 685 0x3d,
andresiforware2018 50:c299b1099189 686 0x7f,
andresiforware2018 50:c299b1099189 687 0x48,
andresiforware2018 50:c299b1099189 688 0x4c,
andresiforware2018 50:c299b1099189 689 0x4a,
andresiforware2018 50:c299b1099189 690 0x31,
andresiforware2018 50:c299b1099189 691 0x31,
andresiforware2018 50:c299b1099189 692 0x49,
andresiforware2018 50:c299b1099189 693 0x49,
andresiforware2018 50:c299b1099189 694 0x49,
andresiforware2018 50:c299b1099189 695 0x46,
andresiforware2018 50:c299b1099189 696 0x40,
andresiforware2018 50:c299b1099189 697 0x40,
andresiforware2018 50:c299b1099189 698 0x7f,
andresiforware2018 50:c299b1099189 699 0x40,
andresiforware2018 50:c299b1099189 700 0x40,
andresiforware2018 50:c299b1099189 701 0x7e,
andresiforware2018 50:c299b1099189 702 0x1,
andresiforware2018 50:c299b1099189 703 0x1,
andresiforware2018 50:c299b1099189 704 0x1,
andresiforware2018 50:c299b1099189 705 0x7e,
andresiforware2018 50:c299b1099189 706 0x7c,
andresiforware2018 50:c299b1099189 707 0x2,
andresiforware2018 50:c299b1099189 708 0x1,
andresiforware2018 50:c299b1099189 709 0x2,
andresiforware2018 50:c299b1099189 710 0x7c,
andresiforware2018 50:c299b1099189 711 0x7f,
andresiforware2018 50:c299b1099189 712 0x2,
andresiforware2018 50:c299b1099189 713 0xc,
andresiforware2018 50:c299b1099189 714 0x2,
andresiforware2018 50:c299b1099189 715 0x7f,
andresiforware2018 50:c299b1099189 716 0x63,
andresiforware2018 50:c299b1099189 717 0x14,
andresiforware2018 50:c299b1099189 718 0x8,
andresiforware2018 50:c299b1099189 719 0x14,
andresiforware2018 50:c299b1099189 720 0x63,
andresiforware2018 50:c299b1099189 721 0x60,
andresiforware2018 50:c299b1099189 722 0x10,
andresiforware2018 50:c299b1099189 723 0xf,
andresiforware2018 50:c299b1099189 724 0x10,
andresiforware2018 50:c299b1099189 725 0x60,
andresiforware2018 50:c299b1099189 726 0x43,
andresiforware2018 50:c299b1099189 727 0x45,
andresiforware2018 50:c299b1099189 728 0x49,
andresiforware2018 50:c299b1099189 729 0x51,
andresiforware2018 50:c299b1099189 730 0x61,
andresiforware2018 50:c299b1099189 731 0x0,
andresiforware2018 50:c299b1099189 732 0x0,
andresiforware2018 50:c299b1099189 733 0x7f,
andresiforware2018 50:c299b1099189 734 0x41,
andresiforware2018 50:c299b1099189 735 0x41,
andresiforware2018 50:c299b1099189 736 0x20,
andresiforware2018 50:c299b1099189 737 0x10,
andresiforware2018 50:c299b1099189 738 0x8,
andresiforware2018 50:c299b1099189 739 0x4,
andresiforware2018 50:c299b1099189 740 0x2,
andresiforware2018 50:c299b1099189 741 0x41,
andresiforware2018 50:c299b1099189 742 0x41,
andresiforware2018 50:c299b1099189 743 0x7f,
andresiforware2018 50:c299b1099189 744 0x0,
andresiforware2018 50:c299b1099189 745 0x0,
andresiforware2018 50:c299b1099189 746 0x10,
andresiforware2018 50:c299b1099189 747 0x20,
andresiforware2018 50:c299b1099189 748 0x40,
andresiforware2018 50:c299b1099189 749 0x20,
andresiforware2018 50:c299b1099189 750 0x10,
andresiforware2018 50:c299b1099189 751 0x1,
andresiforware2018 50:c299b1099189 752 0x1,
andresiforware2018 50:c299b1099189 753 0x1,
andresiforware2018 50:c299b1099189 754 0x1,
andresiforware2018 50:c299b1099189 755 0x1,
andresiforware2018 50:c299b1099189 756 0x0,
andresiforware2018 50:c299b1099189 757 0x40,
andresiforware2018 50:c299b1099189 758 0x20,
andresiforware2018 50:c299b1099189 759 0x10,
andresiforware2018 50:c299b1099189 760 0x0,
andresiforware2018 50:c299b1099189 761 0x2,
andresiforware2018 50:c299b1099189 762 0x15,
andresiforware2018 50:c299b1099189 763 0x15,
andresiforware2018 50:c299b1099189 764 0x15,
andresiforware2018 50:c299b1099189 765 0xf,
andresiforware2018 50:c299b1099189 766 0x7f,
andresiforware2018 50:c299b1099189 767 0x9,
andresiforware2018 50:c299b1099189 768 0x11,
andresiforware2018 50:c299b1099189 769 0x11,
andresiforware2018 50:c299b1099189 770 0xe,
andresiforware2018 50:c299b1099189 771 0xe,
andresiforware2018 50:c299b1099189 772 0x11,
andresiforware2018 50:c299b1099189 773 0x11,
andresiforware2018 50:c299b1099189 774 0x11,
andresiforware2018 50:c299b1099189 775 0x2,
andresiforware2018 50:c299b1099189 776 0xe,
andresiforware2018 50:c299b1099189 777 0x11,
andresiforware2018 50:c299b1099189 778 0x11,
andresiforware2018 50:c299b1099189 779 0x9,
andresiforware2018 50:c299b1099189 780 0x7f,
andresiforware2018 50:c299b1099189 781 0xe,
andresiforware2018 50:c299b1099189 782 0x15,
andresiforware2018 50:c299b1099189 783 0x15,
andresiforware2018 50:c299b1099189 784 0x15,
andresiforware2018 50:c299b1099189 785 0xc,
andresiforware2018 50:c299b1099189 786 0x8,
andresiforware2018 50:c299b1099189 787 0x3f,
andresiforware2018 50:c299b1099189 788 0x48,
andresiforware2018 50:c299b1099189 789 0x40,
andresiforware2018 50:c299b1099189 790 0x20,
andresiforware2018 50:c299b1099189 791 0x8,
andresiforware2018 50:c299b1099189 792 0x14,
andresiforware2018 50:c299b1099189 793 0x15,
andresiforware2018 50:c299b1099189 794 0x15,
andresiforware2018 50:c299b1099189 795 0x1e,
andresiforware2018 50:c299b1099189 796 0x7f,
andresiforware2018 50:c299b1099189 797 0x8,
andresiforware2018 50:c299b1099189 798 0x10,
andresiforware2018 50:c299b1099189 799 0x10,
andresiforware2018 50:c299b1099189 800 0xf,
andresiforware2018 50:c299b1099189 801 0x0,
andresiforware2018 50:c299b1099189 802 0x11,
andresiforware2018 50:c299b1099189 803 0x5f,
andresiforware2018 50:c299b1099189 804 0x1,
andresiforware2018 50:c299b1099189 805 0x0,
andresiforware2018 50:c299b1099189 806 0x2,
andresiforware2018 50:c299b1099189 807 0x1,
andresiforware2018 50:c299b1099189 808 0x11,
andresiforware2018 50:c299b1099189 809 0x5e,
andresiforware2018 50:c299b1099189 810 0x0,
andresiforware2018 50:c299b1099189 811 0x0,
andresiforware2018 50:c299b1099189 812 0x7f,
andresiforware2018 50:c299b1099189 813 0x4,
andresiforware2018 50:c299b1099189 814 0xa,
andresiforware2018 50:c299b1099189 815 0x11,
andresiforware2018 50:c299b1099189 816 0x0,
andresiforware2018 50:c299b1099189 817 0x41,
andresiforware2018 50:c299b1099189 818 0x7f,
andresiforware2018 50:c299b1099189 819 0x1,
andresiforware2018 50:c299b1099189 820 0x0,
andresiforware2018 50:c299b1099189 821 0x1f,
andresiforware2018 50:c299b1099189 822 0x10,
andresiforware2018 50:c299b1099189 823 0xc,
andresiforware2018 50:c299b1099189 824 0x10,
andresiforware2018 50:c299b1099189 825 0xf,
andresiforware2018 50:c299b1099189 826 0x1f,
andresiforware2018 50:c299b1099189 827 0x8,
andresiforware2018 50:c299b1099189 828 0x10,
andresiforware2018 50:c299b1099189 829 0x10,
andresiforware2018 50:c299b1099189 830 0xf,
andresiforware2018 50:c299b1099189 831 0xe,
andresiforware2018 50:c299b1099189 832 0x11,
andresiforware2018 50:c299b1099189 833 0x11,
andresiforware2018 50:c299b1099189 834 0x11,
andresiforware2018 50:c299b1099189 835 0xe,
andresiforware2018 50:c299b1099189 836 0x1f,
andresiforware2018 50:c299b1099189 837 0x14,
andresiforware2018 50:c299b1099189 838 0x14,
andresiforware2018 50:c299b1099189 839 0x14,
andresiforware2018 50:c299b1099189 840 0x8,
andresiforware2018 50:c299b1099189 841 0x8,
andresiforware2018 50:c299b1099189 842 0x14,
andresiforware2018 50:c299b1099189 843 0x14,
andresiforware2018 50:c299b1099189 844 0xc,
andresiforware2018 50:c299b1099189 845 0x1f,
andresiforware2018 50:c299b1099189 846 0x1f,
andresiforware2018 50:c299b1099189 847 0x8,
andresiforware2018 50:c299b1099189 848 0x10,
andresiforware2018 50:c299b1099189 849 0x10,
andresiforware2018 50:c299b1099189 850 0x8,
andresiforware2018 50:c299b1099189 851 0x9,
andresiforware2018 50:c299b1099189 852 0x15,
andresiforware2018 50:c299b1099189 853 0x15,
andresiforware2018 50:c299b1099189 854 0x15,
andresiforware2018 50:c299b1099189 855 0x2,
andresiforware2018 50:c299b1099189 856 0x10,
andresiforware2018 50:c299b1099189 857 0x7e,
andresiforware2018 50:c299b1099189 858 0x11,
andresiforware2018 50:c299b1099189 859 0x1,
andresiforware2018 50:c299b1099189 860 0x2,
andresiforware2018 50:c299b1099189 861 0x1e,
andresiforware2018 50:c299b1099189 862 0x1,
andresiforware2018 50:c299b1099189 863 0x1,
andresiforware2018 50:c299b1099189 864 0x2,
andresiforware2018 50:c299b1099189 865 0x1f,
andresiforware2018 50:c299b1099189 866 0x1c,
andresiforware2018 50:c299b1099189 867 0x2,
andresiforware2018 50:c299b1099189 868 0x1,
andresiforware2018 50:c299b1099189 869 0x2,
andresiforware2018 50:c299b1099189 870 0x1c,
andresiforware2018 50:c299b1099189 871 0x1e,
andresiforware2018 50:c299b1099189 872 0x1,
andresiforware2018 50:c299b1099189 873 0x6,
andresiforware2018 50:c299b1099189 874 0x1,
andresiforware2018 50:c299b1099189 875 0x1e,
andresiforware2018 50:c299b1099189 876 0x11,
andresiforware2018 50:c299b1099189 877 0xa,
andresiforware2018 50:c299b1099189 878 0x4,
andresiforware2018 50:c299b1099189 879 0xa,
andresiforware2018 50:c299b1099189 880 0x11,
andresiforware2018 50:c299b1099189 881 0x18,
andresiforware2018 50:c299b1099189 882 0x5,
andresiforware2018 50:c299b1099189 883 0x5,
andresiforware2018 50:c299b1099189 884 0x5,
andresiforware2018 50:c299b1099189 885 0x1e,
andresiforware2018 50:c299b1099189 886 0x11,
andresiforware2018 50:c299b1099189 887 0x13,
andresiforware2018 50:c299b1099189 888 0x15,
andresiforware2018 50:c299b1099189 889 0x19,
andresiforware2018 50:c299b1099189 890 0x11,
andresiforware2018 50:c299b1099189 891 0x0,
andresiforware2018 50:c299b1099189 892 0x8,
andresiforware2018 50:c299b1099189 893 0x36,
andresiforware2018 50:c299b1099189 894 0x41,
andresiforware2018 50:c299b1099189 895 0x0,
andresiforware2018 50:c299b1099189 896 0x0,
andresiforware2018 50:c299b1099189 897 0x0,
andresiforware2018 50:c299b1099189 898 0x7f,
andresiforware2018 50:c299b1099189 899 0x0,
andresiforware2018 50:c299b1099189 900 0x0,
andresiforware2018 50:c299b1099189 901 0x0,
andresiforware2018 50:c299b1099189 902 0x41,
andresiforware2018 50:c299b1099189 903 0x36,
andresiforware2018 50:c299b1099189 904 0x8,
andresiforware2018 50:c299b1099189 905 0x0,
andresiforware2018 50:c299b1099189 906 0x8,
andresiforware2018 50:c299b1099189 907 0x8,
andresiforware2018 50:c299b1099189 908 0x2a,
andresiforware2018 50:c299b1099189 909 0x1c,
andresiforware2018 50:c299b1099189 910 0x8,
andresiforware2018 50:c299b1099189 911 0x8,
andresiforware2018 50:c299b1099189 912 0x1c,
andresiforware2018 50:c299b1099189 913 0x2a,
andresiforware2018 50:c299b1099189 914 0x8,
andresiforware2018 50:c299b1099189 915 0x8
eencae 0:d563e74f0ae9 916 };
eencae 0:d563e74f0ae9 917
valavanisalex 29:5bc91bd44c77 918 #endif