Skip to main content
Formatting.
Source Link
Edgar Bonet
  • 45.2k
  • 4
  • 42
  • 81

0

I'm trying to read serial data into Arduino.

I usually use a Serial to USB cable to connect to the hardware and is sending data like

33,Z,35.0,F,1073741.824,I,0.0,0x68
33,Z,35.0,F,1073741.824,I,0.0,0x68
33,Z,35.0,F,1073741.824,I,0.0,0x68

33,Z,35.0,F,1073741.824,I,0.0,0x68 33,Z,35.0,F,1073741.824,I,0.0,0x68 33,Z,35.0,F,1073741.824,I,0.0,0x68 AtAt 38400 bound rate.

I have been reading this post Splitting a comma separated string through serial (Arduino) https://www.arduino.cc/reference/en/language/functions/communication/serial/print/

I have tried to write something my own but none return readable data.

Any tips please?

0

I'm trying to read serial data into Arduino.

I usually use a Serial to USB cable to connect to the hardware and is sending data like

33,Z,35.0,F,1073741.824,I,0.0,0x68 33,Z,35.0,F,1073741.824,I,0.0,0x68 33,Z,35.0,F,1073741.824,I,0.0,0x68 At 38400 bound rate.

I have been reading this post Splitting a comma separated string through serial (Arduino) https://www.arduino.cc/reference/en/language/functions/communication/serial/print/

I have tried to write something my own but none return readable data.

Any tips please?

I'm trying to read serial data into Arduino.

I usually use a Serial to USB cable to connect to the hardware and is sending data like

33,Z,35.0,F,1073741.824,I,0.0,0x68
33,Z,35.0,F,1073741.824,I,0.0,0x68
33,Z,35.0,F,1073741.824,I,0.0,0x68

At 38400 bound rate.

I have been reading this post Splitting a comma separated string through serial (Arduino) https://www.arduino.cc/reference/en/language/functions/communication/serial/print/

I have tried to write something my own but none return readable data.

Any tips please?

Source Link
Andrea
  • 13
  • 1
  • 3

Arduino split comma separated serial stream

0

I'm trying to read serial data into Arduino.

I usually use a Serial to USB cable to connect to the hardware and is sending data like

33,Z,35.0,F,1073741.824,I,0.0,0x68 33,Z,35.0,F,1073741.824,I,0.0,0x68 33,Z,35.0,F,1073741.824,I,0.0,0x68 At 38400 bound rate.

I have been reading this post Splitting a comma separated string through serial (Arduino) https://www.arduino.cc/reference/en/language/functions/communication/serial/print/

I have tried to write something my own but none return readable data.

Any tips please?