Library for Nuelectronics Nokia 3310/5110 LCD Display and joystick.

Dependents:   LEDFun NetTester

Fork of N3310LCD by Andrew Lindsay

Library for Nuelectronics Nokia 3310/5110 LCD Display and joystick.

Committer:
SomeRandomBloke
Date:
Fri Jul 19 13:42:00 2013 +0000
Revision:
6:46bcc4e584c4
Parent:
3:9808f63fd2fe
code comments

Who changed what in which revision?

UserRevisionLine numberNew contents of line
SomeRandomBloke 6:46bcc4e584c4 1 /**
SomeRandomBloke 6:46bcc4e584c4 2 * @section DESCRIPTION
SomeRandomBloke 6:46bcc4e584c4 3 * N3310LCD. A program to interface mbed with the nuelectronics
SomeRandomBloke 6:46bcc4e584c4 4 * Nokia 3310 LCD shield from www.nuelectronics.com. Ported from
SomeRandomBloke 6:46bcc4e584c4 5 * the nuelectronics Arduino code.
SomeRandomBloke 6:46bcc4e584c4 6 *
SomeRandomBloke 6:46bcc4e584c4 7 * @section LICENSE
SomeRandomBloke 6:46bcc4e584c4 8 *
SomeRandomBloke 6:46bcc4e584c4 9 * Copyright (C) <2009> Petras Saduikis <petras@petras.co.uk>
SomeRandomBloke 6:46bcc4e584c4 10 *
SomeRandomBloke 6:46bcc4e584c4 11 * Converted to a mbed library by Andrew D. Lindsay
SomeRandomBloke 6:46bcc4e584c4 12 *
SomeRandomBloke 6:46bcc4e584c4 13 * This file is part of N3310LCD.
SomeRandomBloke 6:46bcc4e584c4 14 *
SomeRandomBloke 6:46bcc4e584c4 15 * N3310LCD is free software: you can redistribute it and/or modify
SomeRandomBloke 6:46bcc4e584c4 16 * it under the terms of the GNU General Public License as published by
SomeRandomBloke 6:46bcc4e584c4 17 * the Free Software Foundation, either version 3 of the License, or
SomeRandomBloke 6:46bcc4e584c4 18 * (at your option) any later version.
SomeRandomBloke 6:46bcc4e584c4 19 *
SomeRandomBloke 6:46bcc4e584c4 20 * N3310LCD is distributed in the hope that it will be useful,
SomeRandomBloke 6:46bcc4e584c4 21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
SomeRandomBloke 6:46bcc4e584c4 22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
SomeRandomBloke 6:46bcc4e584c4 23 * GNU General Public License for more details.
SomeRandomBloke 6:46bcc4e584c4 24 *
SomeRandomBloke 6:46bcc4e584c4 25 * You should have received a copy of the GNU General Public License
SomeRandomBloke 6:46bcc4e584c4 26 * along with N3310LCD. If not, see <http://www.gnu.org/licenses/>.
SomeRandomBloke 6:46bcc4e584c4 27 */
SomeRandomBloke 0:7efa6655d94b 28
SomeRandomBloke 6:46bcc4e584c4 29 #ifndef N3310LCDDEFS_H
SomeRandomBloke 6:46bcc4e584c4 30 #define N3310LCDDEFS_H
SomeRandomBloke 0:7efa6655d94b 31
SomeRandomBloke 0:7efa6655d94b 32 enum eDisplayMode {NORMAL, HIGHLIGHT};
SomeRandomBloke 3:9808f63fd2fe 33 //enum eRequestType {CMD, DATA};
SomeRandomBloke 0:7efa6655d94b 34 enum eBacklight {OFF, ON};
SomeRandomBloke 0:7efa6655d94b 35
SomeRandomBloke 0:7efa6655d94b 36 typedef unsigned char BYTE;
SomeRandomBloke 0:7efa6655d94b 37
SomeRandomBloke 0:7efa6655d94b 38 #endif