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

All Samples(58)  |  Call(58)  |  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):
def DoShutdown():
    lcd.clear()
    lcd.message('Are you sure?\nPress Sel for Y')
    while 1:
        if lcd.buttonPressed(lcd.LEFT):
def DoReboot():
    lcd.clear()
    lcd.message('Are you sure?\nPress Sel for Y')
    while 1:
        if lcd.buttonPressed(lcd.LEFT):
        sleep(0.25)
        lcd.home()
        lcd.message(strftime('%a %b %d %Y\n%I:%M:%S %p', localtime()))
 
def ValidateDateDigit(current, curval):
 
    lcd.clear()
    lcd.message(strftime("%b %d, %Y  \n%I:%M:%S %p  ", curtime))
    lcd.blink()
    lcd.setCursor(curc[current], curr[current])

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)
def show_time():
    global minutes
    lcd.clear()
    lcd.message(datetime.now().strftime('%b %d --- %H:%M\n'))
    lcd.message('IP %s' % ( ipaddr ) )
 
    lcd.clear()
    lcd.message(date + "\n" + status)
    # activity reset
    timestamp = time.time()
 
def start_alarm():
    switch_to_menu_alarm_running()
    _play_mp3(_get_random_mp3_file())
    lcd.message("ALARM !!!\n" + current_alarm)

src/p/y/Python-WiFi-Radio-HEAD/PiPhi.py   Python-WiFi-Radio(Download)
def shutdown():
    lcd.clear()
    if HALT_ON_EXIT:
        if RGB_LCD: lcd.backlight(lcd.YELLOW)
        lcd.message('Wait 30 seconds\nto unplug...')
def marquee(s, x, y, xWrap):
    lcd.setCursor(0, y)
    if x > 0: # Initially scrolls in from right edge
        lcd.message(' ' * x + s[0:16-x])
    else:     # Then scrolls w/wrap indefinitely
        lcd.message(s[-x:16-x])
def drawPlaying():
    lcd.createChar(7, charSevenBitmaps[0])
    lcd.setCursor(0, 1)
    lcd.message('\x07 Playing       ')
    return time.time()
def drawPaused():
    lcd.createChar(7, charSevenBitmaps[1])
    lcd.setCursor(0, 1)
    lcd.message('\x07 Paused        ')
 

src/r/p/rpihacks-HEAD/Adafruit_CharLCDPlate/LCD-pi-plate-print-ip-addrs.py   rpihacks(Download)
 
# Init menu message
lcd.message(menu_msg)
 
# Change the message based on the button
        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)
	time = datetime.now().strftime( '%F %H:%M\n' )
	#Displays time on first line, BTC/USD rate on next line.
	lcd.message(time)
	lcd.message( "$" + stamp + "||" "$" + gox)
	#Sleeps until next API call can be made. 

src/r/a/raspberry-pi_btc-ticker-HEAD/python_implimentation/bitcointicker.py   raspberry-pi_btc-ticker(Download)
        price = bitstamp()
        time = datetime.now().strftime( '%F %H:%M\n' )
        lcd.message(time)
        lcd.message("BTC/USD: " + price)
        sleep(30)

src/r/a/raspberry-pi_btc-ticker-HEAD/python_implimentation/customwork.py   raspberry-pi_btc-ticker(Download)
        price = bitstamp()
        time = datetime.now().strftime( '%F %H:%M\n' )
        lcd.message(time)
        lcd.message("BTC/USD: " + price)
        sleep(30)

src/r/a/raspberry-pi_btc-ticker-HEAD/python_implimentation/veryworkingmuchshibe.py   raspberry-pi_btc-ticker(Download)
        time = datetime.now().strftime( '%F %H:%M\n' )
        #Displays time on first line, BTC/USD rate on next line
        lcd.message(time)
        lcd.message( "DOGE: " + price)
        #Sleeps until next API call is possible

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)
lcd.clear()
# hello!
lcd.message("Adafruit RGB LCD\nPlate w/Keypad!")
sleep(1)
 
	if (lcd.buttonPressed(lcd.LEFT)):
		lcd.clear()
		lcd.message("Red Red Wine")
		lcd.backlight(lcd.RED)
 
	if (lcd.buttonPressed(lcd.UP)):
		lcd.clear()
		lcd.message("Sita Sings \nthe blues")
	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()
		lcd.message("Purple mountain\n majesties");

  1 | 2  Next