0

Alarm clock - RaspiPi
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Alarm clock - RaspiPi

by PtitChat on Wed Aug 30, 2017 5:34 pm

Hi everybody,
I am actively looking for contributors for a project that I have had in mind for several months now, unfortunately my skills are not up to what I would need and not having a suitable schedule, So give it to the community of Adafruit. It is a project that combines Raspberry with a 16x2 screen to transform it into a programmable radio alarm clock, giving various information and in particular humidity and temperature (using a DHT 22 probe).

The project is available if GitHub, so I hope it will interest you.

-- https://lc.cx/c6aW

Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi:~ $ python /home/pi/Desktop/RaspiRadio/radio.py
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/pi/Desktop/RaspiRadio/radio.py", line 74, in update_lcd
    LCD.setCursor(0,0)
AttributeError: 'module' object has no attribute 'setCursor'

Traceback (most recent call last):
  File "/home/pi/Desktop/RaspiRadio/radio.py", line 377, in <module>
    main()
  File "/home/pi/Desktop/RaspiRadio/radio.py", line 118, in main
    press = read_buttons()
  File "/home/pi/Desktop/RaspiRadio/radio.py", line 167, in read_buttons
    buttons = LCD.readButtons()
AttributeError: 'module' object has no attribute 'readButtons'
mpd error: Connection refused

PtitChat
 
Posts: 4
Joined: Sun Oct 12, 2014 8:34 am

Please be positive and constructive with your questions and comments.