컬러센서가 빨간색을 인식하면 왼쪽센서는 왼쪽으로 오른쪽 센서는 오른쪽으로 이동하고 스마트 허브에 오른쪽 버튼을 누르면 실이 올라오고 포스센서를 누르면 실이 내려 가는 프로그램 입니다
tip
컬러센서를 손으로 막으면 빨간색을 인식 합니다
좌우모터: A, 아래모터:B, 포스센서:D, 컬러센서 왼쪽:E, 컬러센서 오른쪽:F
Crane
When the color sensor recognizes red, the left sensor moves to the left, the right sensor moves to the right, and when the right button is pressed on the smart hub, the thread comes up and when the force sensor is pressed, the thread goes down
tip
If you block the color sensor with your hand, it recognizes red
Left and right motors: A, lower motors: B, force sensor:D, color sensor left:E, color sensor right:F