 }
 
 /*
- * Lights a single pixel in the specified color
- * at the specified x and y addresses
- */
-void set_pixel(int x, int y, int color)
-{
-    unsigned char *data;
-
-    if (x >= MAXCOL || y >= MAXROW)
-        return;
-    data = &screen[(y >> 3) * MAXCOL + x];
-
-    if (color)
-        *data |= 1 << (y & 7);
-    else
-        *data &= ~(1 << (y & 7));
-
-    lcd.LCD_write_byte(0x40 | (y >> 3), 0);
-    lcd.LCD_write_byte(0x80 | x, 0);
-    lcd.LCD_write_byte(*data, 1);
-}
-
-/*
  * Draw a filled rectangle in the specified color from (x1,y1) to (x2,y2).
  *
  * The best way to fill a rectangle is to take advantage of the "wrap-around" featute

            goto check;
        }

        key = joystick_get();
        if (key != JOYSTICK_RIGHT)
            right_pressed = 0;

 * arising out of or in connection with the use or performance of
 * this software.
 */
#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>

#define PITWIDTH    12
#define PITDEPTH    21
