Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : SH1107 Displays
Author | Message | ||||
Maniccyberdog Newbie Joined: 19/02/2018 Location: United KingdomPosts: 11 |
Hi all, Been a while since I looked at PicoMite. I’m looking at doing a project with some children and would like to show them an alternative to MicroPython. Has any support for SH1107 controllers been added? Or does it need to be done in basic? If so does anyone have any example code? Many thanks, |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6783 |
The only I2C graphical display that I know works is the SSD1306 OLED 128x64 resolution. AFAIK no-one has added any others. You could use the I2C commands to create a driver as they are pretty good. I don't know just how messy it would get though. :) If you did this then the commands for it could be stored in the Library so that they could be accessed easily. Edited 2024-06-10 17:09 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
v.lenzer Regular Member Joined: 04/05/2024 Location: GermanyPosts: 49 |
I have already used a SH1106 with 1.3" OLED on the RP2040-Zero. It works just like an SSD1306 OLED. So far I have not noticed any limitations. Here are my options and a very very simple graphics test. 'Graphic-Test mit OLED 1.3" 'OPTION SYSTEM I2C GP0, GP1 'OPTION LCDPANEL SSD1306I2C, LANDSCAPE, 2 (for 1.3") 'OPTION AUTORUN ON cls box 0,4,128,32 for i = 1 to 4 line 0,(31+i*6),128,(31+i*6),i next i pause 2000 cls for i=1 to 3 rbox 0,4,128,32,10,0,1 pause 500 rbox 0,4,128,32,10,0,0 pause 500 next i circle 12,32,12,1,1 circle 40,32,12,1,0 Best wishes! Joachim |
||||
Print this page |