Example #1
0
def main():
    lcd.init()
    lcd.cls()
    lcd.data(smiley)
    lcd.locate(2,2)
    lcd.data(ch)
    lcd.locate(3,0)
    lcd.text("c.a.h.")
    lcd.backlight(1)
Example #2
0
def main():
    lcd.init()
    lcd.cls()
    lcd.data(smiley)
    lcd.locate(2, 2)
    lcd.data(ch)
    lcd.locate(3, 0)
    lcd.text("c.a.h.")
    lcd.backlight(1)
Example #3
0
def demo():
    lcd.locate(0,0)
    lcd.data(logo)
def demo():
    lcd.locate(0, 0)
    lcd.data(logo)
def display_volume_bar(volume='-24.375000'):
    lcd.locate(0, 4)
    lcd.data(get_volume_bar_data(volume))
def display_song_meta(text, **kwargs):
    lcd.locate(0, 0)
    bitmap = get_bitmap(text, **kwargs)
    lcd.data(bitmap)