Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

xbee is not sending decimal data

1 Ansicht (letzte 30 Tage)
aadi
aadi am 12 Jun. 2013
Geschlossen: Sabin am 19 Dez. 2022
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 Kommentar
Ryan Livingston
Ryan Livingston am 14 Jun. 2013
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:

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by