Library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website).
Fork of N5110 by
Diff: Bitmap.h
- Revision:
- 44:cd9bc22f656d
- Parent:
- 40:c9262294f2e1
--- a/Bitmap.h Tue Mar 21 11:46:14 2017 +0000 +++ b/Bitmap.h Wed May 03 12:52:37 2017 +0000 @@ -10,9 +10,11 @@ * @brief A black & white bitmap that can be rendered on an N5110 screen * @author Alex Valavanis <a.valavanis@leeds.ac.uk> * + * @detail Slight modification by Jack Cripps to deal with transparency issue + * * @code // First declare the pixel map data using '1' for black, - // or '0' for white pixels + // or '0' for white pixels, or '2' for transparent static int sprite_data[] = { 0,0,1,0,0, 0,1,1,1,0, @@ -40,7 +42,7 @@ private: /** * @brief The contents of the drawing, with pixels stored in row-major order - * @details '1' represents a black pixel; '0' represents white + * @details '1' represents a black pixel; '0' represents white, '2' transparent */ std::vector<int> _contents;