User Manual

VMM403
V. 01 18/03/2020 4 ©Velleman nv
pins.analogWritePin(AnalogPin.P2, 900)
pins.digitalWritePin(DigitalPin.P15, 1)
pins.digitalWritePin(DigitalPin.P16, 0)
basic.pause(3000)
pins.analogWritePin(AnalogPin.P1, 500)
pins.digitalWritePin(DigitalPin.P13, 0)
pins.digitalWritePin(DigitalPin.P12, 1)
pins.analogWritePin(AnalogPin.P2, 500)
pins.digitalWritePin(DigitalPin.P15, 0)
pins.digitalWritePin(DigitalPin.P16, 1)
basic.pause(3000)
})
Explanation
Motor 1 forward:
P13 HIGH
P12 LOW
Speed PWM: P1
Motor 2 forward:
P15 - HIGH
P16 - LOW
Speed PWM: P2
Motor 1 backward:
P13 - LOW
P12 - HIGH
Speed PWM: P1
Motor 2 backward:
P15 - LOW
P16 - HIGH
Speed PWM: P2
Use this device with original accessories only. Velleman nv cannot be held
responsible in the event of damage or injury resulting from (incorrect) use of this
device. For more info concerning this product and the latest version of this manual,
please visit our website www.velleman.eu. The information in this manual is subject
to change without prior notice.
© COPYRIGHT NOTICE
The copyright to this manual is owned by Velleman nv. All worldwide rights reserved.
No part of this manual may be copied, reproduced, translated or reduced to any electronic
medium or otherwise without the prior written consent of the copyright holder.