We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c28409 commit 17547e3Copy full SHA for 17547e3
1 file changed
gestures/ultraSonicLeft.py
@@ -1,2 +1,3 @@
1
def ultrasonicLeft(returnText):
2
- i01.speakBlocking(unicode(returnText,'utf-8')+str(i01.getUltrasonicLeftDistance()).replace(".0", ""))
+ i01.speakBlocking(unicode(returnText,'utf-8')+str(i01.getUltrasonicLeftDistance()).replace(".0", ""))
3
+ print("left side:"+ str(i01.getUltrasonicLeftDistance()).replace(".0", "")+ "cm")
0 commit comments