Hi, i have a AVR robotics kit,...and a usb programmer for programming it..i need to control the robot using matlab....ca u please help ????thanx in advance...
3 次查看(过去 30 天)
显示 更早的评论
Control of the robot using AVR atymega8 kit...and also i want to have a serial communication using USB....and my kit does nt have manufacturer id or model no or anything ....how to communicate it????
0 个评论
回答(1 个)
David Sanchez
2013-5-20
When you connect your kit to USB port, it'll be assign a COM number ( COM2, COM12...whatever, check it out). Create a serial object with
serial()
You can read/write to your port with
freadf
fwritef
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Robotics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!