Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: N5110.cpp
- Revision:
- 28:4091516537e4
- Parent:
- 27:0d8d90936b4c
- Child:
- 29:5bc91bd44c77
--- a/N5110.cpp Tue Feb 07 21:50:25 2017 +0000 +++ b/N5110.cpp Wed Feb 15 22:10:21 2017 +0000 @@ -184,7 +184,7 @@ } } -int N5110::getPixel(int x, int y) +int N5110::getPixel(int x, int y) const { if (x>=0 && x<WIDTH && y>=0 && y<HEIGHT) { // check within range // return relevant bank and mask required bit