If Statements and Digital IR Sensors

Your remote control's Smart Inventor Board has three onboard infrared, or IR, sensors that you can program to help your CoDrone fly. In this lesson, you're going to learn how to include them in your code using if statements.
CoDrone Pro beginner cover CoDrone Pro beginner cover

This lesson works with:

CoDrone Pro/Lite
Arduino
  • arduino
  • beginner
  • CoDrone
  • CoDrone Pro
  • conditionals
  • fundamentals
  • if statements
  • infrared
  • programming
  • remote control
  • sensor

Grade level:

6 - 12+

Approx. time required:

30 - 45 mins
You are offline. Basecamp running in offline mode.