01
자이로 센서의 사용법을 알아보세요.
02
허브 안에 자이로 센서가 내장되어 있습니다. 이 센서는 움직임과 기울기를 인식합니다.
03
모터를 포트 A에 연결하세요.
04 - 고스트 프로그램
![Hub_and_Motor_isolated_large.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/bltd58779194299e1db/5fe0647cb80b0a1a68f9f75d/Hub_and_Motor_isolated_large.png?locale=ko-kr&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
자이로 센서를 이용해 모터를 돌리기 위한 프로그램을 만드세요.
05
![Hub_and_Motor_isolated_large.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/bltd58779194299e1db/5fe0647cb80b0a1a68f9f75d/Hub_and_Motor_isolated_large.png?locale=ko-kr&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
모터를 돌리기 위한 프로그램을 테스트하세요.
06
허브를 오른쪽으로 기울이세요. 모터가 회전합니다.
07
![Gyroleft_Icon.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blt47a591bba1244736/601277a10a80720ff10f42a7/Gyroleft_icon.png?locale=ko-kr&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
허브가 왼쪽으로 기울어지면 모터가 회전하도록 프로그램을 수정하세요.
08
실행 버튼을 누르고, 모터를 돌리기 위한 프로그램을 테스트하세요.