Library for Nuelectronics Nokia 3310/5110 LCD Display and joystick.
Dependents: N3310LCD_Demo FRDM_N3110LCD
Diff: N3310SPIConfig.h
- Revision:
- 1:51961974fe55
- Parent:
- 0:7efa6655d94b
- Child:
- 6:46bcc4e584c4
--- a/N3310SPIConfig.h Sun Mar 10 18:15:25 2013 +0000 +++ b/N3310SPIConfig.h Sun Mar 10 18:29:09 2013 +0000 @@ -13,7 +13,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * N3310LCD is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -38,11 +38,11 @@ static const PinName LCD_RST; // LCD reset static const PinName DAT_CMD; // indicates if the SPI write is command or date static const PinName BL_ON; // Back Light On - + static const PinName AD0; // analog in for joystick }; -// NOTE pins have been chosen not to conflict with any I2C usage. +// NOTE pins have been chosen not to conflict with any I2C usage. // MOSI = p5, MISO = p6, SCK = p7 is also an option const PinName N3310SPIPort::MOSI = PTD2; const PinName N3310SPIPort::MISO = PTD3; // not used for 3310 @@ -70,7 +70,7 @@ * p10: CE * p9: LCD_RST * p8: DAT_CMD -* +* * Connector J1: * p7: BL_ON *