Updated library to work with the FRDM KL25Z board. Original code downloaded from DFRobot. Warning. For the 5 way switch to work correctly the LCD4884 shiled needs to be modified. The PCB line between resistor 202 and 102 just bellow the RED power LED needs to be cut and a connection from the 202 resistor to the 3V3 pin needs to be made.
Dependents: 10A_ClassProject_MegnaticGame
Fork of LCD4884 by
Revision 4:c6ce6c885358, committed 2015-12-08
- Comitter:
- 1918june
- Date:
- Tue Dec 08 16:11:19 2015 +0000
- Parent:
- 3:6a7641ddd544
- Commit message:
- vdvad
Changed in this revision
LCD4884.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6a7641ddd544 -r c6ce6c885358 LCD4884.h --- a/LCD4884.h Mon Dec 07 17:51:50 2015 +0000 +++ b/LCD4884.h Tue Dec 08 16:11:19 2015 +0000 @@ -16,12 +16,12 @@ #include "mbed.h" // SPI Interface --- (on arduino Arduino Digital Pin 2,3,4,5,6) -#define SPI_SCK D2 //Serial Clock(Master Output) -#define SPI_MOSI D3 //Master Output,Slave Input -#define LCD_DC D4 //Data/Command(command active low) -#define SPI_CS D5 //Chip Select,Slave Transmit Enable(active low,Master Output) -#define LCD_RST D6 //One Reset button -#define LCD_BL D8 //PWM Backlit control (Arduino DIO Pin 7) +#define SPI_SCK PC_10 //Serial Clock(Master Output) +#define SPI_MOSI PC_12 //Master Output,Slave Input +#define LCD_DC PC_11 //Data/Command(command active low) +#define SPI_CS PD_2 //Chip Select,Slave Transmit Enable(active low,Master Output) +#define LCD_RST D8 //One Reset button +#define LCD_BL D2 //PWM Backlit control (Arduino DIO Pin 7) //display mode -- normal / highlight