Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Update wbTest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LeProblemeEDMN committed Jun 1, 2024
1 parent 07de0eb commit 4f6bc87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raspberrypi/tests/wbTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

for i in range(100):
sen=sensors.get_all_sensors()
detect=np.sum(np.arry(sen)<5)>5
detect=np.sum(np.array(sen)<5)>5

print(i,sensors.get_all_sensors(),detect)
if(detect):
print("RESET-------------------")
print("RESET------------------------------------------")
sensors = Sensors()
time.sleep(1)

Expand Down

0 comments on commit 4f6bc87

Please sign in to comment.