MATLABによるarduino操作時に発生するエラー
古いコメントを表示
以下のようなエラーメッセージが生じ、その後の操作(LEDランプ点滅)ができません。一昨日はできたのですが・・・
arduinoはuno, PCのOSはwindows10です。
ーーーーーーーーーーーーーーー
>> a=arduino('COM4')
a =
arduino のプロパティ:
Port: 'COM4'
Board: 'Uno'
AvailablePins: {'D2-D13', 'A0-A5'}
Libraries: {'I2C', 'Servo', 'SPI'}
>> a.pinMode(13,'output')
クラス 'arduino' に対する適切なメソッド、プロパティ、またはフィールド 'pinMode' がありません。
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB Support Package for Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!