フィルターのクリア

MATLAB Arudino PWM support

4 ビュー (過去 30 日間)
chucktehengineer
chucktehengineer 2015 年 3 月 8 日
回答済み: rivanildo duarte almeida 2015 年 6 月 14 日
Hi,
I am looking for advice and insight on how to use the writePWMDutycycle and writePWMVoltage function in MATLAB arduino interface. I have installed the arduino PDE sketch to my arduino and installed the arduino hardware support package in MATLAB. However, I the writePWMDutycycle or writePWMVoltage functions show up a as undefined functions whenever I attempt to use them.
Do I need to upload an different version of the arduino PDE sketch to allow the use of these functions?
Thanks,

回答 (2 件)

Abhishek GS
Abhishek GS 2015 年 3 月 17 日
Hi chucktehengineer,
Is it only the 'writePWMDutycycle' and 'writePWMVoltage' functions from Arduino MATLAB support Package that are erring out ? Are the functions 'arduino', 'configureDigitalPin', 'readDigitalPin', 'writeDigitalPin' etc working ?
If the other functions are also not working, it looks like you may have not installed the MATLAB Arduino Support Package properly.
Thanks, Abhishek
  1 件のコメント
chucktehengineer
chucktehengineer 2015 年 3 月 27 日
Hi Abhishek,
Thanks for replying. I can use the 'arduino', 'configureDigitalPin,'readDigitalPin', 'writeDitialPin', and other basic I/O functions. However, the 'writePWMDutycycle', 'writePWMVoltage', and other I/O functions such as 'playtone()'and 'configureAnanlogPin' are not recognized.
I have tried re-installing the Arduino hardware support package several times without any luck.
Thanks,
Chucktehengineer

サインインしてコメントする。


rivanildo duarte  almeida
rivanildo duarte almeida 2015 年 6 月 14 日
good afternoon people
when I try to use the writeDigitalPin function, the error msn says not this set
what do I do?

コミュニティ

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by