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...
조회 수: 1 (최근 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!