Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Raspberry Pi: display tweets for a given hashtag on character LCD
Python Arduino Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
tftweet
README.md
alatweet.py
display-hashtag
display-hashtag.py
hashtagdisplay.py

README.md

tweetypi

Repository for Python scripts to display tweets on a character LCD connected to a Raspberry Pi.

Written by Drew Fustini. Released as public domain.

Blog post: http://www.element14.com/community/groups/raspberry-pi/blog/2012/11/26/display-tweets-on-a-character-lcd

display-hashtag.py

Displays tweets that contain a specified hashtag

Instructions:

sudo pip install twitter
mkdir ~/python
cd ~/python
git clone https://github.com/pdp7/Adafruit-Raspberry-Pi-Python-Code.git
git clone https://github.com/pdp7/tweetypi.git
cd tweetypi

The only required argument for display-hashtag is the hashtag. The '#' prefix should be omitted as it is added by the code. The defaults assume 16x2 char LCD.

sudo ./display-hashtag bears

Here would be the arguments for 20x4 LCD:

sudo ./display-hashtag --verbose --cols 20 --rows 4 --delay 3 bears
Something went wrong with that request. Please try again.