sleep removed... remained from some test
This commit is contained in:
parent
9340e23036
commit
58eaf1cfc0
1
power.py
1
power.py
@ -18,7 +18,6 @@ lpower = 10000
|
|||||||
while True:
|
while True:
|
||||||
#wait for a falling edge on gpio 24
|
#wait for a falling edge on gpio 24
|
||||||
#GPIO.wait_for_edge(24, GPIO.FALLING)
|
#GPIO.wait_for_edge(24, GPIO.FALLING)
|
||||||
time.sleep(2)
|
|
||||||
|
|
||||||
#get current time and calculate current power from difference
|
#get current time and calculate current power from difference
|
||||||
current = time.time()
|
current = time.time()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user