Hi Terry,
> However, I think it has too many grey levels because I get a very
> washed out picture with the odd line on it. The spec says 16 bit, but
> I think they mean 16 levels (needless to say the device came from
> China).
You originally wrote:
> The supplied image has the following
On Monday, 3 August 2020 17:14:36 BST Ralph Corderoy wrote:
> I'm assuming you're using PIL, or something similar.
Yes. As you suggested, I temporarily changed the value of OLED_Y_MAXPIXEL in
OLED_Driver.py and the image now renders without any errors.
However, I think it has too many grey
Hi Terry,
> So if I've understood what you are saying correctly, it's the for loop that's
> out of range and not the image (as such). It simply keeps looping round
> until
> it gets to 128 and if there are no more pixels after 95 it barfs?
Yes.
> >289 Pixels = Image.load()
I'm
On Monday, 3 August 2020 16:47:53 BST Ralph Corderoy wrote:
> I think your image will have to be 128×128 pixels.
>
> Deleting the commented out or boring lines from the code you gave leaves
>
> >284 def OLED_ShowImage(self, Image, Xstart, Ystart):
> >288 self.OLED_SetWindows (
Hi Terry,
> The supplied image has the following properties (as provided by The Gimp:
>
> Size in Pixels: 128 x 128
> Color space: Indexed color (16 colors)
> Precision: 8-bit gamma integer
> File Type: Windows BMP image
>
> My image has these properties (I've tweaked it in The
Hi,
We want to make some model TV Sets for the windows of the Radio Shops in
Wimborne Model Town and have obtained a 1.5 inch OLED Display. This is a
general OLED display module, 1.5inch diagonal, 128*128 pixels, 16-bit grey
level, with embedded controller, communicating via SPI or I2C
6 matches
Mail list logo