Compare commits

...

2 Commits

Author SHA1 Message Date
Siwat Sirichai ac470b75f2 add text printout during install 2022-12-08 13:03:48 +07:00
Siwat Sirichai 9ff0c01713 update configuration 2022-12-08 13:03:03 +07:00
2 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,6 @@
SERIAL_MCU = "COM4"
SERIAL_DRV = "COM20"
SERIAL_MCU = "/dev/serial/by-id/usb-Raspberry_Pi_Pico_E660B4400771212A-if00"
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
SONAR_1_ADC_PIN = 0
@ -34,5 +35,3 @@ REVERSE_LEDS = [11, 10, 9]
LIGHT_ANALOG_PIN = 2
DHT22_PIN = 14
SERIAL_LCD = "COM9"

View File

@ -1,6 +1,10 @@
echo "Updating Software Repository"
sudo apt update
echo "Installing Dependencies"
sudo apt install python3 python3-pip
pip3 install -r ./requirements.txt
echo "Creating systemd Service"
ln -s ./kuukar.service /etc/systemd/system/kuukar.service
sudo systemctl kuukar enable
sudo systemctl kuukar start
sudo systemctl kuukar start
echo "Installation Completed!"