-
Raspberry Pi Zero W (or similar)
-
Waveshare 2.7 inch e-Paper Hat
-
Power Supply
To get started make sure you follow the guide on Waveshare to ensure you have all the required drivers. Waveshare demos all require sudo so this was built with that in mind.
You will also need Twitter API access to get a bearer token.
- Use the requirements.txt as sudo to pip install needed packages
- Create a .env file and add your Twitter API bearer token as BEARER=<your_token>
- Launch the program with sudo python3 tweet_pi.py from the tweet_pi folder
- Type in a Search Term
- Press Key 1 on the HAT once it has initilized to display tweet.
- Tweets will cycle through until the limit (or total amount of tweets found) and the restart at the beginning
- Press Key 2 on the HAT to clear the screen and exit.
Enjoy!