This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我用energia给MSP432编多串口通信的程序,但是serial2没有事别,请问该怎么解决呢
Hi,
报错信息就是您没有定义Serial2。
这种类Arduino的语言需要您先在setup中初始化相关配置,然后再在loop中执行。其实与单片机的前后台类似。
您试一下像Serial或Serial1那样先在setup中配置Serial2,再在loop中执行。
另外建议您使用例程,在例程的基础上进行修改。