11 lines
203 B
Python
Executable File
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)
|