초음파센서가 10cm 보다 작아지면 모터가 왼쪽으로 2회전 오른쪽으로 2회전 다시 왼쪽으로 2회전 하고 10cm 이상일 경우 모터가 멈추어 있는 프로그램 입니다
포트
모터:B, 초음파센서:F
유투브 멤버십에 가입 하시면 더 많은 정보를 얻을 수 있습니다
If the ultrasonic sensor is less than 10cm, the motor rotates to the left, rotates to the right, rotates to the left again, and if it is more than 10cm, the motor stops
Ports
Motor:B, Ultrasonic sensor:F
You can get more information by signing up for a YouTube membership