A demo for using the Sharp LCD display component.
Dependencies: SharpLCD mbed-src
Revision 2:a3c53e712ed6, committed 2014-07-30
- Comitter:
- rgrover1
- Date:
- Wed Jul 30 08:07:12 2014 +0000
- Parent:
- 1:c6c75eea2123
- Commit message:
- minor update needed in the initialization of SharpLCD--adding the chip-select pin.
Changed in this revision
SharpLCD.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c6c75eea2123 -r a3c53e712ed6 SharpLCD.lib --- a/SharpLCD.lib Wed Jul 23 10:43:53 2014 +0000 +++ b/SharpLCD.lib Wed Jul 30 08:07:12 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/rgrover1/code/SharpLCD/#62d7cfac67ca +http://mbed.org/users/rgrover1/code/SharpLCD/#270ee57c0367
diff -r c6c75eea2123 -r a3c53e712ed6 main.cpp --- a/main.cpp Wed Jul 23 10:43:53 2014 +0000 +++ b/main.cpp Wed Jul 30 08:07:12 2014 +0000 @@ -19,7 +19,7 @@ #include "font.h" DigitalOut led1(LED1); -SharpLCD lcd(p9, MBED_SPI0); +SharpLCD lcd(p9, p8, MBED_SPI0); uint8_t framebuffer[SharpLCD::SIZEOF_FRAMEBUFFER_FOR_ALLOC];