adafruit / Adafruit_SHARP_Memory_Display

This is an Arduino library for the Adafruit Monochrome SHARP Memory Displays
http://www.adafruit.com/products/1393
Other
60 stars 54 forks source link

Added support for color depth #7

Open RadJaz opened 8 years ago

RadJaz commented 8 years ago

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.

dhiltonp commented 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

damarbo33 commented 7 years ago

The definition is not correct in the header. I see:

define SHARPMEM_LCDDEPTH (1)

and should be:

define SHARPMEM_LCDDEPTH (3)