Skip to content

Commit

Permalink
updated ultrasonic function
Browse files Browse the repository at this point in the history
  • Loading branch information
valenmoore committed May 8, 2024
1 parent f640360 commit 7e15ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arduino.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def read_data(self, val):
count = count + 1
data = self.ser.readline()
except:

return None
d = data.decode()
if d[0] == "$":
d = d[1:]
Expand Down

0 comments on commit 7e15ba7

Please sign in to comment.