chickenhouse/wifi_fieldstrength_test.py
2018-08-27 11:26:29 +02:00

11 lines
203 B
Python
Executable File

#!/usr/bin/python2
from wifi_fieldstrength import wifi_fieldstrength
from time import sleep
wf = wifi_fieldstrength("wlan0")
while(True):
print "Field strength: " + str(wf.read()) + " dBm"
sleep(1)