This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import cap1xxx | |
import random | |
import time | |
""" | |
4 3 2 | |
5 7 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# code modified, tweaked and tailored from code at | |
# http://raspi.tv/2015/how-to-drive-a-7-segment-display-directly-on-raspberry-pi-in-python | |
import RPi.GPIO as GPIO | |
import random | |
import time | |
NUMBER_OF_DIGITS = 4 | |
def format_num(num): | |
digits_left = NUMBER_OF_DIGITS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
# script by Alex Eames http://RasPi.tv | |
# explained here... | |
# http://raspi.tv/2013/controlled-shutdown-duration-test-of-pi-model-a-with-2-cell-lipo | |
# DO NOT use this script without a Voltage divider or other means of | |
# reducing battery voltage to the ADC. This is exaplained on the above blog page | |
import time | |
import os | |
import subprocess | |
import smtplib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/recovery/create_sdrawkcab_ts.py b/recovery/create_sdrawkcab_ts.py | |
new file mode 100755 | |
index 0000000..1402833 | |
--- /dev/null | |
+++ b/recovery/create_sdrawkcab_ts.py | |
@@ -0,0 +1,27 @@ | |
+#!/usr/bin/env python | |
+import re | |
+import os | |
+ |
NewerOlder