display-led.py determine script run time to determine sleep time before exit
Need to write this in python
# Set START_TIME
START_TIME=`date +%Y%m%d%H%M%S
# Set end time
END_TIME=`date +%Y%m%d%H%M%S`
# calucate run time
RUN_TIME=$(expr ${END_TIME} - ${START_TIME})
echo "${START_TIME} ${END_TIME}"
expr 15 - (${END_TIME} - ${START_TIME})
display-led.py determine script run time to determine sleep time before exit
Need to write this in python