Question about binary data sent from Matlab to Teensy 3.2

Status
Not open for further replies.

33chen

New member
Dear all,

I have a question about sending integer data from Matlab to Teensy 3.2 (Teensy is working in the Arduino environment).

For example. in the matlab, I used these following two lines to send the data array A to Arduino.
Code:
A = [128 -2 129];
 fwrite(arduinoCom,A,'int32');

I know the Teensy 3.2 has 32 bits bit ARM processor. Is that right I used int32 in my fwrite. Thanks.

Ji
 
Status
Not open for further replies.
Back
Top