Compare commits
2 Commits
c02c11d5dd
...
ac470b75f2
Author | SHA1 | Date |
---|---|---|
Siwat Sirichai | ac470b75f2 | |
Siwat Sirichai | 9ff0c01713 |
|
@ -1,5 +1,6 @@
|
||||||
SERIAL_MCU = "COM4"
|
SERIAL_MCU = "/dev/serial/by-id/usb-Raspberry_Pi_Pico_E660B4400771212A-if00"
|
||||||
SERIAL_DRV = "COM20"
|
SERIAL_DRV = "/dev/serial/by-id/usb-Raspberry_Pi_Pico_E6609CB2D3846033-if00"
|
||||||
|
SERIAL_LCD = "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0"
|
||||||
|
|
||||||
# HC Sonar Pins
|
# HC Sonar Pins
|
||||||
SONAR_1_ADC_PIN = 0
|
SONAR_1_ADC_PIN = 0
|
||||||
|
@ -34,5 +35,3 @@ REVERSE_LEDS = [11, 10, 9]
|
||||||
LIGHT_ANALOG_PIN = 2
|
LIGHT_ANALOG_PIN = 2
|
||||||
|
|
||||||
DHT22_PIN = 14
|
DHT22_PIN = 14
|
||||||
|
|
||||||
SERIAL_LCD = "COM9"
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
|
echo "Updating Software Repository"
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
echo "Installing Dependencies"
|
||||||
sudo apt install python3 python3-pip
|
sudo apt install python3 python3-pip
|
||||||
pip3 install -r ./requirements.txt
|
pip3 install -r ./requirements.txt
|
||||||
|
echo "Creating systemd Service"
|
||||||
ln -s ./kuukar.service /etc/systemd/system/kuukar.service
|
ln -s ./kuukar.service /etc/systemd/system/kuukar.service
|
||||||
sudo systemctl kuukar enable
|
sudo systemctl kuukar enable
|
||||||
sudo systemctl kuukar start
|
sudo systemctl kuukar start
|
||||||
|
echo "Installation Completed!"
|
Loading…
Reference in New Issue