Port

A Port represents one of the six ports on the hub, labeled A-F. The labels A-F correspond to integers 0-5 respectively.

Constants

  1. A=0
  2. B=1
  3. C=2
  4. D=3
  5. E=4
  6. F=5

Example

1 2 3 4 5 use Libraries.Robots.Spike.Port use Libraries.Robots.Spike.Motor Port port Motor wheel wheel:SetPort(port:A)