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

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

src/r/a/RaspberryPiLcdMenu-HEAD/lcdmenu.py   RaspberryPiLcdMenu(Download)
def DoQuit():
    lcd.clear()
    lcd.message('Are you sure?\nPress Sel for Y')
    while 1:
        if lcd.buttonPressed(lcd.LEFT):
            break
        if lcd.buttonPressed(lcd.SELECT):
            lcd.clear()
def DoShutdown():
    lcd.clear()
    lcd.message('Are you sure?\nPress Sel for Y')
    while 1:
        if lcd.buttonPressed(lcd.LEFT):
            break
        if lcd.buttonPressed(lcd.SELECT):
            lcd.clear()
def DoReboot():
    lcd.clear()
    lcd.message('Are you sure?\nPress Sel for Y')
    while 1:
        if lcd.buttonPressed(lcd.LEFT):

src/a/l/alarm-clock-HEAD/alarm_clock.py   alarm-clock(Download)
def init_display():
    lcd.clear()
    lcd.backlight(lcd.YELLOW)
    lcd.message("JamesClonk's\nAlarm Clock!")
    sleep(2)
    lcd.backlight(lcd.VIOLET)
 
def show_time():
    global minutes
    lcd.clear()
    status = "is enabled" if alarm["status"] else "is disabled"
 
    lcd.clear()
    lcd.message(date + "\n" + status)
    # activity reset
def load_data():
    # only display loading message in current time menu, as to not disturb the "nothing" menu
    if (menu_state == SHOW_CURRENT_TIME):
        lcd.clear()
        lcd.backlight(lcd.BLUE)
def shutdown_pi():
    lcd.clear()
    lcd.backlight(lcd.RED)
    lcd.message("shutting down..")
    sleep(1)

src/p/y/Python-WiFi-Radio-HEAD/PiPhi.py   Python-WiFi-Radio(Download)
def cleanExit():
    if lcd is not None:
        time.sleep(0.5)
        lcd.backlight(lcd.OFF)
        lcd.clear()
def shutdown():
    lcd.clear()
    if HALT_ON_EXIT:
        if RGB_LCD: lcd.backlight(lcd.YELLOW)
        lcd.message('Wait 30 seconds\nto unplug...')
def getStations():
    lcd.clear()
    lcd.message('Retrieving\nstation list...')
    pianobar.expect('Select station: ', timeout=10)
    # 'before' is now string of stations I believe
lcd = Adafruit_CharLCDPlate()
lcd.begin(16, 2)
lcd.clear()
 
# Create volume bargraph custom characters (chars 0-5):

src/r/p/rpihacks-HEAD/Adafruit_CharLCDPlate/LCD-pi-plate-print-ip-addrs.py   rpihacks(Download)
 
# Clear display
lcd.clear()
lcd.backlight(lcd.ON)
 
    for b in btn:
        if lcd.buttonPressed(b[0]):
           lcd.clear()
           lcd.message(b[1])
 

src/r/a/raspberry-pi_btc-ticker-HEAD/python_implimentation/goxstamp.py   raspberry-pi_btc-ticker(Download)
while 1:
	lcd.backlight(lcd.GREEN)
	lcd.clear()
	#Calls BTC function, gets time and formats.
	gox = GOX()

src/r/a/raspberry-pi_btc-ticker-HEAD/python_implimentation/bitcointicker.py   raspberry-pi_btc-ticker(Download)
 
while 1:
        lcd.clear()
        price = bitstamp()
        time = datetime.now().strftime( '%F %H:%M\n' )

src/r/a/raspberry-pi_btc-ticker-HEAD/python_implimentation/customwork.py   raspberry-pi_btc-ticker(Download)
 
while 1:
        lcd.clear()
        price = bitstamp()
        time = datetime.now().strftime( '%F %H:%M\n' )

src/r/a/raspberry-pi-lcd-1.1.1/lcd/lcd.py   raspberry-pi-lcd(Download)
def message(message):
	_lcd.clear()
	_lcd.message(message)
 

src/r/p/rpi-timelapse-HEAD/LCDtest.py   rpi-timelapse(Download)
 
# clear display
lcd.clear()
# hello!
lcd.message("Adafruit RGB LCD\nPlate w/Keypad!")
while 1:
	if (lcd.buttonPressed(lcd.LEFT)):
		lcd.clear()
		lcd.message("Red Red Wine")
		lcd.backlight(lcd.RED)
 
	if (lcd.buttonPressed(lcd.UP)):
		lcd.clear()
 
	if (lcd.buttonPressed(lcd.DOWN)):
		lcd.clear()
		lcd.message("I see fields\nof green");
		lcd.backlight(lcd.GREEN)
 
	if (lcd.buttonPressed(lcd.RIGHT)):
		lcd.clear()

src/r/p/rpihacks-HEAD/Adafruit_CharLCDPlate/LCDtest.py   rpihacks(Download)
 
# Clear display and show greeting, pause 1 sec
lcd.clear()
lcd.message("Adafruit RGB LCD\nPlate w/Keypad!")
sleep(1)
        if lcd.buttonPressed(b[0]):
            if b is not prev:
                lcd.clear()
                lcd.message(b[1])
                lcd.backlight(b[2])

  1 | 2  Next