start new:
tmux
start new with session name:
tmux new -s myname
| > Thank you for reaching out to Autonomous! I am sorry to hear that you are having some trouble with your SmartDesk | |
| > but I will be glad to assist. It sounds like your system needs a "hard reset" can I please have you follow these | |
| > steps thoroughly. | |
| Reset Steps: | |
| 1. Unplug the desk for 20 seconds. Plug it back in. Wait a full 20 seconds. | |
| 2. Press the up and down buttons until the desk lowers all the way and beeps or 20 seconds pass. | |
| 3. Release both buttons. | |
| 4. Press the down buttons until the desk beeps one more time or 20 seconds pass. |
| var b = require('bonescript'); | |
| var led = "P8_10"; | |
| var state = 0; | |
| b.pinMode(led, 'out'); | |
| toggleLED = function() { | |
| state = state ? 0 : 1; | |
| b.digitalWrite(led, state); | |
| }; |
| #!/usr/bin/python | |
| #Button Handling based on this https://gist.github.com/larsks/6161684 | |
| #Main script by Tim Massaro for The Internet Connected Joke Machine | |
| #import pifacecommon.core | |
| import pifacecommon.interrupts | |
| import os | |
| import time | |
| import pifacecad | |
| import pycurl |