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()