Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.
Nico Kratky edited this page Dec 19, 2017 · 1 revision

The ports.h file defines a few constants that simplify your development process as these sensors/motors/servos will definitely be used.

Feel free to adjust these values or add your own ones. Just remember to recompile and install (explained in Setup)

Analog Sensors

  • Port 0: Left Tophat
  • Port 1: Right Tophat
  • Port 5: Light sensor

Digital Sensors

  • Port 13: Right Button (Note: This port is not physically available)

Motors

  • Port 0: Right Motor
  • Port 1: Left Motor

Clone this wiki locally