Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/r/a/RaspberryPiLcdMenu-HEAD/lcdmenu.py   RaspberryPiLcdMenu(Download)
            lcd.message(strftime("%b %d, %Y  \n%I:%M:%S %p  ", curtime))
            lcd.setCursor(curc[current], curr[current])
        if lcd.buttonPressed(lcd.RIGHT):
            current += 1
            if current > 5:
		sleep(0.25)
 
	if (lcd.buttonPressed(lcd.RIGHT)):
		display.update('r')
		display.display()

src/a/l/alarm-clock-HEAD/alarm_clock.py   alarm-clock(Download)
        time_menu_left()
 
    elif (lcd.buttonPressed(lcd.RIGHT)):
        time_menu_right()
 
        alarm_menu_left()
 
    elif (lcd.buttonPressed(lcd.RIGHT)):
        alarm_menu_right()
 
        switch_to_menu_time_display()
 
    elif (lcd.buttonPressed(lcd.LEFT)) and (lcd.buttonPressed(lcd.RIGHT)):
        shutdown_pi()
 
        switch_to_menu_time_display()
 
    elif (lcd.buttonPressed(lcd.LEFT)) and (lcd.buttonPressed(lcd.RIGHT)):
        shutdown_pi()
 

src/r/p/rpihacks-HEAD/Adafruit_CharLCDPlate/LCD-pi-plate-print-ip-addrs.py   rpihacks(Download)
       (lcd.UP, ipaddr_for_device('eth0')),
       (lcd.DOWN, ipaddr_for_device('wlan0')),
       (lcd.RIGHT, menu_msg),
       (lcd.SELECT, menu_msg))
 

src/p/y/Python-WiFi-Radio-HEAD/PiPhi.py   Python-WiFi-Radio(Download)
    btnDown  = b & (1 <<lcd.DOWN)
    btnLeft  = b & (1 <<lcd.LEFT)
    btnRight = b & (1 <<lcd.RIGHT)
    btnSel   = b & (1 <<lcd.SELECT)
 

src/r/p/rpihacks-HEAD/Adafruit_CharLCDPlate/LCDtest.py   rpihacks(Download)
       (lcd.UP    , 'Sita sings\nthe blues'     , lcd.BLUE),
       (lcd.DOWN  , 'I see fields\nof green'    , lcd.GREEN),
       (lcd.RIGHT , 'Purple mountain\nmajesties', lcd.VIOLET),
       (lcd.SELECT, ''                          , lcd.ON))
prev = -1

src/a/d/Adafruit-Raspberry-Pi-Python-Code-HEAD/Adafruit_CharLCDPlate/LCDtest.py   Adafruit-Raspberry-Pi-Python-Code(Download)
       (lcd.UP    , 'Sita sings\nthe blues'     , lcd.BLUE),
       (lcd.DOWN  , 'I see fields\nof green'    , lcd.GREEN),
       (lcd.RIGHT , 'Purple mountain\nmajesties', lcd.VIOLET),
       (lcd.SELECT, ''                          , lcd.ON))
prev = -1

src/r/p/rpi-timelapse-HEAD/LCDtest.py   rpi-timelapse(Download)
		lcd.backlight(lcd.GREEN)
 
	if (lcd.buttonPressed(lcd.RIGHT)):
		lcd.clear()
		lcd.message("Purple mountain\n majesties");