Serial Receiving from Arduino to Raspberry Pi with PySerial stops after a while

后端 未结 5 830
小蘑菇
小蘑菇 2021-01-04 19:09

I\'m working on a project in which I have to receive some 25 character data at a time in order to process it in Raspberry Pi. Here is the example code that generates some da

5条回答
  •  独厮守ぢ
    2021-01-04 19:28

    Try sudo rasbpi-config, choose interface option, say 'no' to first message ("kernel login"), 'yes' to second message ("serial communication on"). I found if the first message is on it throws errors. Saying 'no' fixes it.

提交回复
热议问题