Closed OSSome01 closed 4 years ago
Even if we select the mode with switches, we need to use the appropriate control lines in the code depending on the mode.
Switches will make the changes on Hardware level, and then on software level we'll need to use the pins accordingly.
If this solves your issue, close it :)
This is the pdf I mentioned
This is previous iteration pdf. In new version pin configuration has been changed, all the pins are mention on the top layer itself: https://github.com/SRA-VJTI/sra-board-hardware-design/blob/master/documentation/images/board_images/top_silkscreen.png
more info: https://github.com/SRA-VJTI/sra-board-hardware-design
https://github.com/SRA-VJTI/sra-board-component/blob/52923c8263789b255aa6c56a5a1de9f0cb9ad68b/include/motor_driver.h#L23
In the pdf which @ombhilare999 sent about the new design of SRA board, he mentioned that the mode of the motor drivers will be selected with the help of switches. So, what is the need of selecting the mode from the code?
@VedantParanjape @laukik-hase Was the idea of selecting the mode with switches scrapped?