i am sending one 8 bit binary number from matlab to serial port,how i read this data using arduino
조회 수: 6 (최근 30일)
이전 댓글 표시
i am sending one 8 bit binary number from matlab to serial port.
for example
i am sending 00000000 ,and then 00000001 from matlab i need a code of aRduino that how i read this serial data on arduino.
댓글 수: 0
답변 (1개)
Vishnu Vardhan
2019년 6월 8일
Serial monitor of Arduino is a very useful feature.Serial monitor is used to see receive data, send data,print data and so on.Serial monitor is connected to the Arduino through serial communication. This serial communication occurs using RX (pin 0) and TX (pin 1) terminal of Arduino. Any kind of data can send through this serial monitor. To read incoming data in Arduino "Serial.reads ()" And "Serial. readString ()" are two very useful functions. This to function reads the data which are come to Arduino serial port.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!