Library for N5110 Screen - fixed example code
Fork of N5110 by
Revision 46:b3b25f0e9d14, committed 2017-11-02
- Comitter:
- eendmo
- Date:
- Thu Nov 02 12:48:58 2017 +0000
- Parent:
- 45:f5c56e99de71
- Commit message:
- Removed glyph and use GPIO for power as default
Changed in this revision
N5110.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/N5110.h Thu Nov 02 11:43:30 2017 +0000 +++ b/N5110.h Thu Nov 02 12:48:58 2017 +0000 @@ -34,8 +34,8 @@ }; // VCC,SCE,RST,D/C,MOSI,SCLK,LED -//N5110 lcd(p7,p8,p9,p10,p11,p13,p21); // LPC1768 - pwr from GPIO -N5110 lcd(p8,p9,p10,p11,p13,p21); // LPC1768 - powered from +3V3 - JP1 in 2/3 position +N5110 lcd(p7,p8,p9,p10,p11,p13,p21); // LPC1768 - pwr from GPIO +//N5110 lcd(p8,p9,p10,p11,p13,p21); // LPC1768 - powered from +3V3 - JP1 in 2/3 position //N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); // K64F - pwr from 3V3 int main() @@ -86,7 +86,7 @@ /*for(int i = 0; i < 3; i++) { for(int j = 0; j < 5; j++) { - printf("%d,%d = %d\n",i,j,glyph[i][j]); + printf("%d,%d = %d\n",i,j,sprite[i][j]); } }*/