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
from pylab import * | |
from drawnow import drawnow, figure | |
import random | |
import time | |
import fileinput | |
import json | |
import datetime | |
sensors = [] | |
values = {} |
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
import iio | |
import time | |
import struct | |
import matplotlib.pyplot as plt | |
import numpy.fft as fft | |
import numpy as np | |
import math | |
def set_rx_freq(freq): |
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
#!/bin/bash | |
leds(){ | |
for i in 0 7 12 # 0 = power led, 7 = hibernation led, 12 = charging led | |
do | |
echo $i $1 > /proc/acpi/ibm/led | |
done | |
} | |
dit(){ |