dumdiedum

This commit is contained in:
telegnom 2015-03-22 02:14:59 +01:00
parent 58eaf1cfc0
commit 1524274303

View File

@ -17,7 +17,7 @@ lpower = 10000
#start busy loop
while True:
#wait for a falling edge on gpio 24
#GPIO.wait_for_edge(24, GPIO.FALLING)
GPIO.wait_for_edge(24, GPIO.FALLING)
#get current time and calculate current power from difference
current = time.time()