Code to interface mbed to a Nokia 3310 LCD using the Nokia 3310 LCD shield from nuelectronics. Includes joystick interface and demo.
mbed_bmp.h
00001 /* 00002 * N3310LCD. A program to interface mbed with the nuelectronics 00003 * Nokia 3310 LCD shield from www.nuelectronics.com. Ported from 00004 * the nuelectronics Arduino code. 00005 * 00006 * Copyright (C) <2009> Petras Saduikis <petras@petras.co.uk> 00007 * 00008 * This file is part of N3310LCD. 00009 * 00010 * N3310LCD is free software: you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation, either version 3 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * N3310LCD is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with N3310LCD. If not, see <http://www.gnu.org/licenses/>. 00022 */ 00023 00024 /*------------------------------------------------------------------------------ 00025 ; mbed bitmap - size 48x24 pixels, black/white image 00026 ------------------------------------------------------------------------------*/ 00027 00028 unsigned char mbed_bmp[]= 00029 { 00030 00031 0x00,0x80,0x80,0x80,0x00,0x80,0x80,0x80, 00032 0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x00, 00033 0xF8,0xF8,0xF8,0x00,0x80,0x80,0x80,0x00, 00034 0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80, 00035 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x80, 00036 0x80,0x80,0x00,0xF8,0xF8,0xF8,0x00,0x00, 00037 0x00,0xFF,0xFF,0xFF,0x01,0x01,0xFF,0xFF, 00038 0xFF,0x01,0x01,0xFF,0xFF,0xFF,0x00,0x00, 00039 0xFF,0xFF,0xFF,0x83,0x01,0x83,0xFF,0xFF, 00040 0xFE,0x00,0x00,0x7C,0xFF,0xFF,0x19,0x19, 00041 0xDF,0xDF,0xDC,0x00,0x00,0xFE,0xFF,0xFF, 00042 0x83,0x01,0x83,0xFF,0xFF,0xFF,0x00,0x00, 00043 0x00,0x03,0x03,0x03,0x00,0x00,0x03,0x03, 00044 0x03,0x00,0x00,0x03,0x03,0x03,0x00,0x00, 00045 0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x01, 00046 0x00,0x00,0x00,0x00,0x01,0x03,0x03,0x03, 00047 0x03,0x01,0x00,0x00,0x00,0x00,0x01,0x03, 00048 0x03,0x03,0x01,0x03,0x03,0x03,0x00,0x00 00049 };
Generated on Thu Jul 14 2022 15:11:34 by 1.7.2