예제 #1
0
def main():
    lcd = LCD16x2()
    lcd.clear()
    lcd.write_string('TestLCD123456')
    time.sleep(5)
    lcd.close(clear=True)
예제 #2
0
 def __init__(self):
     self.lcd = LCD16x2()
     self.fifo = '/dev/lcd16x2'
     self.creer_fifo()
예제 #3
0
 def __init__(self):
     cmd.Cmd.__init__(self)
     self.prompt = ">> "
     self.intro = "Bienvenue dans LCmD!"
     self.lcd = LCD16x2()
 def __init__(self, liste):
     self.liste = liste
     self.lcd = LCD16x2()
     self.boucle()
 def __init__(self, parent=None):
     Frame.__init__(self, parent)
     self.pack(expand=YES, fill=BOTH)
     self.nom_editeur = self.__class__.__name__
     self.creer_composants()
     self.lcd = LCD16x2()