Troubleshoot controlling motors with raspberry pi model B+

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개)

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

질문:

2015년 4월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by