I was unable to get it to work, and I uninstalled BlueDot.
Sorry.
Code: Select all
import os
import time
for j in range(10):
os.system('echo 1 | sudo dd status=none of=/sys/class/leds/led0/brightness') # led on
time.sleep(1)
os.system('echo 0 | sudo dd status=none of=/sys/class/leds/led0/brightness') # led off
time.sleep(1)
I would happily ignore the error messages if it worked. I will remove it and start over. One more try.
Thank you. This is useful.