Open RadJaz opened 8 years ago
I fixed a whitespace issue and reverted to the included swap defines.
At least with Arduino 1.6.9, the global "swap" define doesn't seem to exist.
https://github.com/dhiltonp/Adafruit_SHARP_Memory_Display/tree/radjaz-changes
The definition is not correct in the header. I see:
define SHARPMEM_LCDDEPTH (1)
and should be:
define SHARPMEM_LCDDEPTH (3)
I added support for color depth because sharp sells a memory LCD with a color depth of 3. I have tested this library on that LCD with a feather m0 and it works. The part number for this LCD is LS013B7DH06 and is compatible with existing sharp memory LCD breakout boards.