Connection to DC Motor on Arduino MKR Motor Carrier or Nano Motor Carrier
This object represents a connection to a DC Motor with the specified motor number on an MKR Motor Carrier or Nano Motor Carrier. You can control the DC motor using Object Functions.
creates a connection to the DC motor at the specified motor number on the MKR Motor
Carrier or Nano Motor Carrier.dcmObj = dcmotor(mcObj,motornumber)
creates a connection to the DC motor at the specified motor number and specified
additional options on the MKR Motor Carrier or Nano Motor Carrier.dcmObj = dcmotor(mcObj,motornumber,Speed)
Use these object functions to create a connection to the DC Motor.
arduino | motorCarrier | pidMotor | rotaryEncoder | servo