TUTORIAL 10 : ULTRASONIC SENSOR

TUTORIAL 10 : ULTRASONIC SENSOR

STEP 1 :

Insert the code block to make Tuah Mini detect an object.

STEP 2 :

Based on this combined block, Tuah Mini will stop and at the same time it will turn to right if ultrasonic sensor detect an object.

STEP 3 :

Set the direction and speed of Tuah Mini STEER. The higher the number, the higher speed of Tuah Mini motor.

STEP 4 :

Plug in USB port.

STEP 5 :

Choose board and port type. Then, upload the code.