Programing Ultrasonic Sensor to button


I’m new to mblock coding, and i’m trying to help my son figure out how to program a button (the * button in this case) to put the starter kit into an ultrasonic sensing mode.


Here is what i have so far:



Hello steve,
Have you checked if the Ultrasonic sensor is working? If yes, what is your complete codes? And what is the performance? Maybe we can check together.


i have not formally checked the performance of the sensor to get a reading on its performance. my code is attached.full control.sb2 (75.3 KB)


I will send you an example through email.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.