Position a brushless dc motor with encoder 12V

Scroll down on the page that you linked to.
There is sample code there. :slight_smile: