rm-hull / luma.oled

Python module to drive a SSD1306 / SSD1309 / SSD1322 / SSD1325 / SSD1327 / SSD1331 / SSD1351 / SH1106 OLED
https://luma-oled.readthedocs.io
MIT License
807 stars 161 forks source link

Support for Winstar WS0010 driver #294

Closed GRA0007 closed 4 years ago

GRA0007 commented 4 years ago

I recently purchased a Winstar WEG010016A display, incorrectly thinking that there would be ample documentation on how to use it online. I've spent several hours trawling through the internet to find if others have used it before with a raspberry pi and I managed to find a few references to different winstar character displays being used, but none of this model, and none even of graphical winstar oled screens controlled by the WS0010 universal driver.

I did manage to find this pull request from 14 days ago which seems to add support for Winstar WEG displays to the luma.core, but as far as I can see (I'm quite a novice to SPI and displays in general), that support hasn't yet been added to the luma.oled project.

I have used this library before for a SSD1322 oled display, but for my current project I needed a red on black oled, and the above model is the only one I could find.

My question is, am I able to use the luma.oled library with my Winstar WEG display, and if not, it would be great if support could be added. I'm aware I sound a bit arrogant but as much as I'd like to contribute myself, I am really not sure where to even begin; the datasheets for these displays send my head spinning :/

thijstriemstra commented 4 years ago

ping @dhrone

dhrone commented 4 years ago

Actually, I'm pretty close to being able to request a pull. I've allowed perfection to be the enemy of progress so got distracted by a re-write of the font handler I've created to embed into the display driver. Shouldn't be much longer.

rm-hull commented 4 years ago

@GRA0007 A really valuable contribution would be to test the new driver @dhrone is writing!

thijstriemstra commented 4 years ago

@dhrone you expect that particular screen will work with your pr?

dhrone commented 4 years ago

Yes. I'm very familiar with that device and the code will definitely work on it.

GRA0007 commented 4 years ago

@GRA0007 A really valuable contribution would be to test the new driver @dhrone is writing!

Now that I can do!

dhrone commented 4 years ago

I just requested a pull for the core components of the drivers. So, we're very close to having the hd44780 and ws0010 drivers available.