update indicators to LED

pull/182/head
Yossi 2018-04-25 09:07:09 +03:00
parent ef82a5f848
commit 1caff31ca0
2 changed files with 4 additions and 11 deletions

View File

@ -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

View File

@ -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)