update indicators to LED
This commit is contained in:
parent
ef82a5f848
commit
1caff31ca0
|
@ -243,15 +243,9 @@ sudo rm cronJobs
|
|||
|
||||
|
||||
|
||||
echo "========== Install Indicators ============"
|
||||
echo "========== Install LED ============"
|
||||
echo "# Needed for SPI LED" >> /boot/config.txt
|
||||
echo "core_freq=250" >> /boot/config.txt
|
||||
sudo apt-get install scons
|
||||
cd /home/core/modules/indicators
|
||||
sudo scons
|
||||
sudo apt-get install python-dev swig -y
|
||||
cd /home/core/modules/indicators/python
|
||||
sudo python setup.py install
|
||||
|
||||
cd /home/core/modules/led
|
||||
sudo npm i
|
||||
|
|
|
@ -15,16 +15,15 @@
|
|||
case "$1" in
|
||||
start)
|
||||
echo "Setting up HwClock"
|
||||
sudo hwclock -s
|
||||
sudo hwclock -s || echo "RTC is not set."
|
||||
|
||||
echo "Starting dride-core"
|
||||
# TODO: refactor this to be done internally
|
||||
# pull up resistor on pin 16
|
||||
sudo python /home/core/daemons/bluetooth/initPin.py
|
||||
|
||||
#blink LED
|
||||
sudo python /home/core/modules/indicators/python/states/standalone.py welcome
|
||||
|
||||
#welcome LED blink
|
||||
/home/core/modules/led/bin/main welcome
|
||||
|
||||
;;
|
||||
stop)
|
||||
|
|
Loading…
Reference in New Issue
Block a user