Open tinyboxxx opened 3 years ago
Hi, the screen works fine, but I want to rotate content on the screen 180 deg in my case.
disp.rotate(True) won't work
full example:
import ssd1322 from machine import SPI,Pin spi = SPI(2, baudrate=16000000,polarity=0, phase=0, sck=Pin(18), mosi=Pin(23), miso=Pin(19)) dc=Pin(12,Pin.OUT) cs=Pin(5,Pin.OUT) res=Pin(14,Pin.OUT) disp=ssd1322.SSD1322_SPI(256,64,spi,dc,cs,res) #disp.fill(0) disp.line(5,5,60,60,0xff) disp.text("HELLOWORLD1", 10, 10, col=0xff) disp.rotate(True) disp.show()
Any idea? Thanks
rotate() has been updated and it should work. (2021-08-06 11:43 UTC) call show() as soon as possible after calling rotate().
Hi, the screen works fine, but I want to rotate content on the screen 180 deg in my case.
disp.rotate(True) won't work
full example:
Any idea? Thanks