Troubleshoot controlling motors with raspberry pi model B+
1 次查看(过去 30 天)
显示 更早的评论
With raspberry pi b+ I have connected a motor driver ic board and want to control using matlab. I am using the following commands but no use the motor is not rotating. I am new to matlab so help me friends..
configureDigitalPin(mypi,16,'output')
configureDigitalPin(mypi,20,'output')
configureDigitalPin(mypi,21,'output')
writeDigitalPin(mypi,16,1)
writeDigitalPin(mypi,20,1)
writeDigitalPin(mypi,21,0)
This is the commands for the gpio for raspberry pi that i found in mathworks website.
0 个评论
回答(0 个)
社区
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Motor Drives 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!