plotter scroll the graphic from right to left, if use SSD1306.fill(0) then redraw entire(full screen) graphic,
it will be slow and blinking extremely, someone could give some examples by other better methods with these cases?
Per area has different refresh frequency. (n1, n2 ...)
Code: Select all
def refresh_oled_area_1():
while True:
# use oled.pixel() set area 1 pixel to '0'
oled.text('area 1 contents', x1, y1)
oled.show()
sleep(n1)
Code: Select all
def refresh_oled_area_2():
while True:
# use oled.pixel() set area 2 pixel to '0'
oled.text('area 1 contents', x2, y2)
oled.show()
sleep(n2)
...
Code: Select all
_thread.start_new_thread(refresh_oled_area_1, ())
_thread.start_new_thread(refresh_oled_area_2, ())