MakeBlock and Mbot Series Project: Count Lines.

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024
  • The mBot2 shall be programmed to move through a white background. Along the path of movement, the bot shall pass by black lines (marked out by black tape). Write a program for the robot to move and count/display the lines counted. In this case, the bot shall move and stop after the second black line.
    Apply the computational thinking to code for the robots to move and count and stop after more than 2 black lines.
    Input : Quad RGB sensor
    Output : Movement of the encoder motor and display.

ความคิดเห็น •