Convert serial.read() into a useable string using Arduino?

后端 未结 15 1133
盖世英雄少女心
盖世英雄少女心 2020-11-29 15:27

I\'m using two Arduinos to sent plain text strings to each other using newsoftserial and an RF transceiver.

Each string is perhaps 20-30 characters in length. How do

15条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 16:23

    If you're using concatenate method then don't forget to trim the string if you're working with if else method.

提交回复
热议问题