-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstalls
48 lines (37 loc) · 1.18 KB
/
installs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
mqtt
========
sudo apt-get update && sudo apt install mosquitto mosquitto-clients -y
sudo nano /etc/mosquitto/mosquitto.conf
switchpi
========
sudo apt-get update && sudo apt-get install python3-pip -y
sudo apt-get install python-rpi.gpio python3-rpi.gpio -y
sudo pip3 install paho-mqtt
all
===
git config --global credential.helper store
git clone "https://github.com/blurrydude/rpi.git"
sudo apt-get install git python3-pip -y
sudo pip3 install adafruit-circuitpython-neopixel && pip3 install --force-reinstall adafruit-blinka
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
sudo npm install -g @angular/cli
sudo nano /boot/config.txt
hdmi_force_hotplug=1
max_usb_current=1
hdmi_drive=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax3900,ymin=200,ymax=3900
display_rotate=0
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD5-show
* * * * * python3 /home/pi/rpi/patcher.py
#0 0 * * * sudo reboot now
@reboot sudo python3 /home/pi/rpi/SmarterCircuits/main.py