I have my laser connected to M2 (which I think are actually pins 4 & 5).
In addition, I have the polarity reversed so it will also work with BenBox.
This means that in my Arduino code which is based off the MDraw code, I need to override the pins in use as just having MeDCMotor laser(M2); doesn’t work.
However, if I reverse the pins in setup() using:
laser.setpin(4,5);
Then this doesn’t work - the light on the Orion comes on but the laser doesn’t.
If I use:
laser.setpin(3,5); (or even laser.setpin(6,5); )
This works fine.
Note - using laser.setpin(5,3), means I can turn the laser on, but it comes on full power and I have to reset to turn it off.
Can anyone explain why?