Extended library from C12832 Lib. by Peter Drescher, Chris Styles & Mihail Stoyanov. LCD in the market such as AQM1248A (Akizuki), AD-12864-SPI (antendo), NHD-C12832 (Newhaven), ST7565 (adafruit) and so on
Dependents: CW_Decoder_using_FFT_on_F446 LPC1114_SPI_LCD_ST7565family_test
Fork of C12832 by
Original library is below link.
http://mbed.org/teams/components/code/C12832/
https://mbed.org/users/dreschpe/code/C12832_lcd/
I extended applicable LCD's not only 128 x 32 but also 128 x 48 and 128 x 64 type of SPI LCD using ST7565 controller.
I have checked AD-12864-SPI and AQM1248 LCD.
Import programLPC1114_SPI_LCD_ST7565family_test
Controller chip is ST7565
Diff: ST7565_SPI_LCD.cpp
- Revision:
- 20:5b329c2a1ffe
- Parent:
- 19:871eed87d8ea
- Child:
- 22:7d03976a0cb3
--- a/ST7565_SPI_LCD.cpp Sun Sep 21 01:04:42 2014 +0000 +++ b/ST7565_SPI_LCD.cpp Sun Sep 21 10:04:45 2014 +0000 @@ -37,7 +37,7 @@ #define BPP 1 // Bits per pixel -#define DEBUG 0 +//#define DEBUG // Com #ifdef DEBUG #define BAUD(x) pcx.baud(x) @@ -53,8 +53,8 @@ #define READABLE(x) {;} #endif #ifdef DEBUG -// com -Serial pcx(dp16,dp15); // Communication with Host +// com !!!Please specify the pin!!!! +Serial pcx(?,?); // Communication with Host #endif ST7565::ST7565(PinName mosi, PinName sck,