Andrew Lindsay
/
N3310LCD_Demo
N3310LCD library demo
Fork of N3310LCD by
mbed_bmp.h@1:740d0a3999a9, 2013-03-10 (annotated)
- Committer:
- SomeRandomBloke
- Date:
- Sun Mar 10 18:29:43 2013 +0000
- Revision:
- 1:740d0a3999a9
- Parent:
- 0:36fb749b83c7
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
snatch59 | 0:36fb749b83c7 | 1 | /* |
snatch59 | 0:36fb749b83c7 | 2 | * N3310LCD. A program to interface mbed with the nuelectronics |
snatch59 | 0:36fb749b83c7 | 3 | * Nokia 3310 LCD shield from www.nuelectronics.com. Ported from |
snatch59 | 0:36fb749b83c7 | 4 | * the nuelectronics Arduino code. |
snatch59 | 0:36fb749b83c7 | 5 | * |
snatch59 | 0:36fb749b83c7 | 6 | * Copyright (C) <2009> Petras Saduikis <petras@petras.co.uk> |
snatch59 | 0:36fb749b83c7 | 7 | * |
snatch59 | 0:36fb749b83c7 | 8 | * This file is part of N3310LCD. |
snatch59 | 0:36fb749b83c7 | 9 | * |
snatch59 | 0:36fb749b83c7 | 10 | * N3310LCD is free software: you can redistribute it and/or modify |
snatch59 | 0:36fb749b83c7 | 11 | * it under the terms of the GNU General Public License as published by |
snatch59 | 0:36fb749b83c7 | 12 | * the Free Software Foundation, either version 3 of the License, or |
snatch59 | 0:36fb749b83c7 | 13 | * (at your option) any later version. |
SomeRandomBloke | 1:740d0a3999a9 | 14 | * |
snatch59 | 0:36fb749b83c7 | 15 | * N3310LCD is distributed in the hope that it will be useful, |
snatch59 | 0:36fb749b83c7 | 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
snatch59 | 0:36fb749b83c7 | 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
snatch59 | 0:36fb749b83c7 | 18 | * GNU General Public License for more details. |
snatch59 | 0:36fb749b83c7 | 19 | * |
snatch59 | 0:36fb749b83c7 | 20 | * You should have received a copy of the GNU General Public License |
snatch59 | 0:36fb749b83c7 | 21 | * along with N3310LCD. If not, see <http://www.gnu.org/licenses/>. |
snatch59 | 0:36fb749b83c7 | 22 | */ |
snatch59 | 0:36fb749b83c7 | 23 | |
snatch59 | 0:36fb749b83c7 | 24 | /*------------------------------------------------------------------------------ |
snatch59 | 0:36fb749b83c7 | 25 | ; mbed bitmap - size 48x24 pixels, black/white image |
SomeRandomBloke | 1:740d0a3999a9 | 26 | ------------------------------------------------------------------------------*/ |
snatch59 | 0:36fb749b83c7 | 27 | |
SomeRandomBloke | 1:740d0a3999a9 | 28 | unsigned char mbed_bmp[]= { |
SomeRandomBloke | 1:740d0a3999a9 | 29 | 0x00,0x80,0x80,0x80,0x00,0x80,0x80,0x80, |
SomeRandomBloke | 1:740d0a3999a9 | 30 | 0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x00, |
SomeRandomBloke | 1:740d0a3999a9 | 31 | 0xF8,0xF8,0xF8,0x00,0x80,0x80,0x80,0x00, |
SomeRandomBloke | 1:740d0a3999a9 | 32 | 0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80, |
SomeRandomBloke | 1:740d0a3999a9 | 33 | 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x80, |
SomeRandomBloke | 1:740d0a3999a9 | 34 | 0x80,0x80,0x00,0xF8,0xF8,0xF8,0x00,0x00, |
SomeRandomBloke | 1:740d0a3999a9 | 35 | 0x00,0xFF,0xFF,0xFF,0x01,0x01,0xFF,0xFF, |
SomeRandomBloke | 1:740d0a3999a9 | 36 | 0xFF,0x01,0x01,0xFF,0xFF,0xFF,0x00,0x00, |
SomeRandomBloke | 1:740d0a3999a9 | 37 | 0xFF,0xFF,0xFF,0x83,0x01,0x83,0xFF,0xFF, |
SomeRandomBloke | 1:740d0a3999a9 | 38 | 0xFE,0x00,0x00,0x7C,0xFF,0xFF,0x19,0x19, |
SomeRandomBloke | 1:740d0a3999a9 | 39 | 0xDF,0xDF,0xDC,0x00,0x00,0xFE,0xFF,0xFF, |
SomeRandomBloke | 1:740d0a3999a9 | 40 | 0x83,0x01,0x83,0xFF,0xFF,0xFF,0x00,0x00, |
SomeRandomBloke | 1:740d0a3999a9 | 41 | 0x00,0x03,0x03,0x03,0x00,0x00,0x03,0x03, |
SomeRandomBloke | 1:740d0a3999a9 | 42 | 0x03,0x00,0x00,0x03,0x03,0x03,0x00,0x00, |
SomeRandomBloke | 1:740d0a3999a9 | 43 | 0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x01, |
SomeRandomBloke | 1:740d0a3999a9 | 44 | 0x00,0x00,0x00,0x00,0x01,0x03,0x03,0x03, |
SomeRandomBloke | 1:740d0a3999a9 | 45 | 0x03,0x01,0x00,0x00,0x00,0x00,0x01,0x03, |
SomeRandomBloke | 1:740d0a3999a9 | 46 | 0x03,0x03,0x01,0x03,0x03,0x03,0x00,0x00 |
snatch59 | 0:36fb749b83c7 | 47 | }; |