PWM Setup-JavaScript
Last updated
Was this helpful?
Last updated
Was this helpful?
Learn how to command the motors using the Motor Hat provided in your Rover kit.
This guide requires no prior programming experience and users should focus more on the concepts being introduced versus getting lost in the minutia of the scripting language.
In this guide you will learn how to manipulate and control the Rover based on the following basic concepts:
How to generate PWM commands for the ROVER.
Understand how the different PWM settings affect motor drive and direction.
Visualize PWM concepts with an appreciation for generated outputs.
Click on the Bluetooth icon and make sure your device is broadcasting. Once broadcasting, click on the pair button to connect to the board.
Once you have a successful connection, the interface will report that a connection was successful.
After connecting, use the interface to control the Motors via PWM values set by the slider. Notice how the motors move as your issue the commands. Press the Stop Motor command to cease all motion.