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.DOWN):
            curval -= 1
            curvalues[current] = ValidateDateDigit(current, curval)
            for i in range(1, len(self.clist)):
                while 1:
                    if lcd.buttonPressed(lcd.DOWN):
                        break
                    sleep(0.25)
		sleep(0.25)
 
	if (lcd.buttonPressed(lcd.DOWN)):
		display.update('d')
		display.display()

src/a/l/alarm-clock-HEAD/alarm_clock.py   alarm-clock(Download)
        time_menu_up()
 
    elif (lcd.buttonPressed(lcd.DOWN)):
        time_menu_down()
 
        alarm_menu_up()
 
    elif (lcd.buttonPressed(lcd.DOWN)):
        alarm_menu_down()
 

src/r/p/rpihacks-HEAD/Adafruit_CharLCDPlate/LCD-pi-plate-print-ip-addrs.py   rpihacks(Download)
btn = ((lcd.LEFT, menu_msg),
       (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)
    b        = lcd.buttons()
    btnUp    = b & (1 << lcd.UP)
    btnDown  = b & (1 <<lcd.DOWN)
    btnLeft  = b & (1 <<lcd.LEFT)
    btnRight = b & (1 <<lcd.RIGHT)

src/r/p/rpihacks-HEAD/Adafruit_CharLCDPlate/LCDtest.py   rpihacks(Download)
btn = ((lcd.LEFT  , 'Red Red Wine'              , lcd.RED),
       (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))

src/a/d/Adafruit-Raspberry-Pi-Python-Code-HEAD/Adafruit_CharLCDPlate/LCDtest.py   Adafruit-Raspberry-Pi-Python-Code(Download)
btn = ((lcd.LEFT  , 'Red Red Wine'              , lcd.RED),
       (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))

src/r/p/rpi-timelapse-HEAD/LCDtest.py   rpi-timelapse(Download)
		lcd.backlight(lcd.BLUE)
 
	if (lcd.buttonPressed(lcd.DOWN)):
		lcd.clear()
		lcd.message("I see fields\nof green");