Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
xbee is not sending decimal data
조회 수: 1 (최근 30일)
이전 댓글 표시
i'm trying t send decimal values to the audino wirelesly using xbee but audino does understand it. it tried this code
s=serial(s,'com5')
fopen(s)
fwrite(s,100)
xbee attached to the computer send the data and receving xbee that is attached to the audino recevies it
but audino does under stand it.
but when i send charter audino understand it. can u help me plz
s=serial(s,'com5')
fopen(s)
fwrite(s,'a')
댓글 수: 1
Ryan Livingston
2013년 6월 14일
What happens when the "arduino does not understand it"? Are there errors?
Also, what datatype is the arduino expecting? Calling FWRITE without a precision argument passes a double:
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!