Strange! Error when access Arduino PWM Pin Number 44 of Mega 2560 ????
1 次查看(过去 30 天)
显示 更早的评论
Hi all! Its quite strange
I got tthis Error when I tried to access Arduino PWM Pin Number 44 of Mega 2560. Could anyone help me????
![error1.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254545/error1.jpeg)
3 个评论
Nirmalkumar Doreraju
2019-12-23
Hi Ta Hai,
Did you make sure that you have selected Arduino Mega 2560 in Configuration Settings?
Configuration Settings >> Hardware Implementation >> Select 'Arduino Mega 2560 ' under Hardware board.
Each Arduino board supports PWM on different set of pins. The error that you are seeing is may be because no board has been selected.
-Nirmal
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!