Electrical Systems

The G6 robot had only one moving mechanism apart from the drivetrain and a single sensor.

The ports were then declared in the code as follows:

Click to enlarge