Sparkfun's Nokia Color LCD Arduino Shield library for FRDM boards
Dependents: ColorLCDShield_Conway
Revision 1:2d65bfd1218c, committed 2013-05-30
- Comitter:
- kayekss
- Date:
- Thu May 30 22:59:30 2013 +0000
- Parent:
- 0:86bb740bcaf7
- Child:
- 2:f4f7b91314a0
- Commit message:
- Commented out descriptions about unused variables {x,y}_offset (Now with no warnings)
Changed in this revision
ColorLCDShield.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ColorLCDShield.cpp Wed May 08 19:43:34 2013 +0000 +++ b/ColorLCDShield.cpp Thu May 30 22:59:30 2013 +0000 @@ -31,13 +31,13 @@ #include "mbed.h" // #include "Arduino.h" -static char x_offset = 0; -static char y_offset = 0; +// static char x_offset = 0; +// static char y_offset = 0; -DigitalOut res(PTA13); // Arduino D8 -DigitalOut cs(PTD5); // Arduino D9 -DigitalOut dio(PTD2); // Arduino D11 -DigitalOut sck(PTD1); // Arduino D13 +DigitalOut res(D8); // Arduino D8 +DigitalOut cs(D9); // Arduino D9 +DigitalOut dio(D11); // Arduino D11 +DigitalOut sck(D13); // Arduino D13 LCDShield::LCDShield() { @@ -209,8 +209,8 @@ LCDData(color&0x0FF); } - x_offset = 0; - y_offset = 0; + // x_offset = 0; + // y_offset = 0; } void LCDShield::contrast(char setting)