How to send ASCII value from MATLAB to microcontroller through RS232 serial port?
1 次查看(过去 30 天)
显示 更早的评论
I need to send different ASCII values from my MATLAB program to the microcontroller based on some condition (if-elseif condition will be used). Since my laptop does not have an RS-232 port, I have used a USB to serial converter cable for that.
My microcontroller will perform different operations based on the ASCII values received from the computer.
The program is to be written in MATLAB. How will I initiate the communication, and what will the rest of the program be like? Can anyone help me with the program?
Also, will the use of USB to RS-232 converter cable require a driver software to be installed on my laptop? If yes, where can I get that driver software?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!