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