Exemple #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()
Exemple #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()
Exemple #3
0
def write_title():
    for oled in oleds:
        oled.fill_rect(0, 0, width, font_size, fg)
    oleds_text(title, 0, 0, bg)
    oleds_show()
Exemple #4
0
def write_title():
    for oled in oleds:
        oled.fill_rect(0, 0, width, font_size, FG)
    oleds_text(title, 0, 0, BG)
Exemple #5
0
def write_title():
  oled.fill_rect(0, 0, width, font_size, fg)
  oled.text("Aiko 0.0", 0, 0, bg)
  oled.show()