have made so that moter speed can be send to microcontroler