5.1 การสั่งงานให้มอเตอร์หมุน

Quick Start


Hardware Assembly

Connect two TT motors to micro:bit as the picture showed below.

Programming

Click Add Package in the code drawer of makecode, then search for the key word motorbit in the dialogue box and click on the searching result to download this package.

Write your code to make two TT motors rotate in turns.

เสร็จสิ้นและไปบทถัดไป