Why does my device driver not work?
1 次查看(过去 30 天)
显示 更早的评论
I want to create my own device driver Sink to drive custom external hardware.
I thought as a simple starting point it may be a good exercise to replicate an existing block (in my case the Servo block).
I did the best I can but for some reason just nothing happens on my Arduino Uno...
As I have no plan at all on how to debug, I don't even know where to start to find the reason.
Maybe someone could try this out. The servo data pin is meant to be attached to pin 9 on an Arduino Uno. My code is attached.
0 个评论
回答(1 个)
Nikhil Sonavane
2020-12-30
You may refer to the following documentation and verify if you followed the same procedure-
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Device Driver Blocks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!