guys can anyone help me with coding

i wish to control the speed of dc brushless motor via android app connected wireless through bluetooth,the motor rotates in both directions and jigs can anyone help with the coding to solve the problem

Probably. But first you need to give details of the components you’re using (links to datasheets would be good) and post the code that doesn’t work (using </> code tags) and then describe in more detail what it does and what you want it to do.

Steve

zeref_1996: the motor rotates in both directions and jigs can anyone help with the coding to solve the problem

A jig is a bit lively maybe a 2 step or a waltz might be easier to program.