Skip to content

Instantly share code, notes, and snippets.

@jaretburkett
Last active November 1, 2016 18:24
Show Gist options
  • Save jaretburkett/cf90f98428827c6689f0afd58da8413f to your computer and use it in GitHub Desktop.
Save jaretburkett/cf90f98428827c6689f0afd58da8413f to your computer and use it in GitHub Desktop.
Setup 5" waveshare display script
#!/bin/bash
echo 'max_usb_current=1' >> /boot/config.txt
echo 'hdmi_group=2' >> /boot/config.txt
echo 'hdmi_mode=87' >> /boot/config.txt
echo 'hdmi_cvt=800 480 60 6 0 0 0' >> /boot/config.txt
wget http://www.waveshare.com/w/upload/3/3d/LCD-show-160811.tar.gz
tar xzvf LCD-show-160811.tar.gz
rm LCD-show-160811.tar.gz
cd LCD-show && sudo ./LCD5-show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment