I only had a quick scan through the code, but it looks like the update_lcd() function is the one you want to modify? I guess just underneath the LCD.message(msg) you need to add a function which also displays 'msg' on screen? It isn't so easy. Because it is necessary to put the part of the function...
Unfortunately I'm not familiar with these libraries at all and cannot test the program. On a quick inspection it seems that LCD_QUEUE is a queue where you put items into it with LCD_QUEUE.put and get items with LCD_QUEUE.get. If you want to display what you put into the queue, probably the best thi...
Here is my code: # -*- encoding: utf-8 -*- #!/usr/bin/python # IMPORTAMOS MÓDULOS from Adafruit_I2C import Adafruit_I2C from Adafruit_MCP230xx import Adafruit_MCP230XX from Adafruit_CharLCDPlate import Adafruit_CharLCDPlate from datetime import datetime from subprocess import * from time import slee...
Here is a small sample program of writing text to the display: import pygame, sys WINDOWWIDTH = 620 WINDOWHEIGHT = 480 FONT_SIZE = 50 FONT_COLOR = (255,255,255) BG_COLOR = (0,0,0) POSITION = (int(WINDOWWIDTH/2.0), int(WINDOWHEIGHT/2.0)) pygame.init() screen = pygame.display.set_mode((WINDOWWIDTH, W...
I solved the issue. I did this: • Create the folder home/pi/.config/lxsession/LXDE • In this folder put a file named autostart containing one line specifying the full path of the file to be executed: e.g. python /home/pi/pipresents/pipresents.py <options> • Make the autostart file executable by usin...
Hi guys! I need some help again. If I run my program since terminal I dont have any problem all is working perfectly. But now I want to start automatically my script when I turn on my RPi, I have done it. But when I do it the pygame starts and I see the image of my LCD but RPi is very busy and the m...
Thanks for your reply Sleep. I know where I have to put the calls of the functions what I don't know exactly is what I've to write inside each function to achieve that clicking in the image will be the same that pushing the button on the lcd. Any help please? Because the function used only reads the...
I need some help please. Finally I've decided to do it like a pygame. My project uses the script of python of Sheldon: http://usualpanic.com/2013/05/raspberry-pi-plate-internet-radio/ Now I want to control it at the same time with the lcd or with the gui. I've created a code that shows a photo of th...
Hi! I've been working in a project with my RPi. I've created a radio wifi that permits you to select between different countries playlist and you can control it with buttons and see it in a lcd. All is programmed in python and the python script is started when the RPi switches on. I would like to cr...
Buenas, yo estoy trabajando con la RPi en un pequeño proyecto de radio. Hasta ahora la escuchaba a través de unos auriculares pero ahora me gustaría poder escucharla mediante un altavoz. Por lo que estoy buscando algún altavoz para conectar a la salida de audio de la RPi, si es posible del tamaño má...
My problem is adding new radios to the playlist. If I add the three ones that you said to the usualpanic playlist it doesn't work. It only works the playlist from here to me:
I'm working in my own playlist and I want to know how to add the links of the most famous europe radios and the best spanish radios, I have to say that I'm spanish. I don't know how to add the links, where I can find them and which type of link must be.
Sounds like the wifi driver may not be loading when you boot. Edit: not right if the GUI can start the wifi Before you use the GUI to start your wifi what do commands lsusb and lsmod show? What is the output of file /etc/network/interfaces? You could try this command and see if it makes any differe...
Hi, I'm working in a new project with my RPi. My internet connection is correctly configured with WI-PI internet usb and I've modified /etc/network/interfaces conveniently so I can connect to internet but I have a problem. When I enter to my RPi I have to push connect button in the wpa_gui menu and ...
The Adafruit LCD seems to use a HD44780 compatible display - this supports an extended ASCII character set, not Unicode. It should have a '0' superscript character which you could use as the degree symbol. You should be able to print this character using chr(176) like this: lcd.message("Temperature...
Hi! I'm working with the Adafruit 16x2 Character LCD + Keypad and the temperature sensor DS18B20. I want that temperature is shown in the LCD and I got it but I'm not able to shown ºC in the LCD. Temperature is shown with the next line: lcd.message("Temperature: \n"+ str(temp)+ " C") Temp is the tem...