예제 #1
0
def oleds_log(text):
    # common.lock(True)
    for oled in oleds:
        oled.scroll(0, -font_size)
        oled.fill_rect(0, bottom_row, width, font_size, BG)
    oleds_text(text, 0, bottom_row, FG)
    oleds_show()
예제 #2
0
def log(text):
  for oled in oleds:
    oled.scroll(0, -font_size)
    oled.fill_rect(0, bottom_row, width, font_size, bg)
    oled.text(text, 0, bottom_row, fg)
    oled.show()
  if lock_title: write_title()