포트
모터:B, 초음파센서:D
초음파센서의 거리가 15cm 보다 가까워 지면 파워 100의 속도로 모터가 돌아가고 15cm 보다 멀 경우는 멈추어 있는 프로그램 입니다
Ports
Motor:B, Ultrasonic Sensor:D
If the distance of the ultrasonic sensor is closer than 15 cm, the motor rotates at a speed of 100 power, and if it is more than 15 cm, it is a program that stops