Browse Source

Update AlbionFisher.py

master
Unbewohnte 5 years ago committed by GitHub
parent
commit
4d99743b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      AlbionFisher.py

4
AlbionFisher.py

@ -9,7 +9,7 @@ import time
x1,y1 = 265,350 x1,y1 = 265,350
x2,y2 = 408,495 x2,y2 = 408,495
x,y = 523,445 x,y = 523,445 #This is where you want to throw your float
meanvalue = 4.8 #You need to know the optimal mean value to actually make it work meanvalue = 4.8 #You need to know the optimal mean value to actually make it work
@ -43,7 +43,7 @@ while True:
time.sleep(0.3) time.sleep(0.3)
print('mean = '+ str(poplavok_place_array_mean)) print('mean = '+ str(poplavok_place_array_mean))
if poplavok_place_array_mean == 0: if poplavok_place_array_mean == 0:
print('mean == 0, ending the programm') print('mean == 0, ending the program')
break break
if poplavok_place_array_mean >= float(meanvalue) and poplavok_place_array_mean != 0: if poplavok_place_array_mean >= float(meanvalue) and poplavok_place_array_mean != 0:

Loading…
Cancel
Save