Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for How to get Arduino to read serial from Python?

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Jul 25, 2019 at 15:13 comment added tony gil flagged for moving to arduino specific community. tks, tg
Dec 13, 2017 at 12:41 vote accept chkrs888.
Dec 8, 2017 at 17:11 answer added chkrs888. timeline score: 2
Dec 8, 2017 at 15:41 comment added chkrs888. I'm printing the data the Arduino has received back to the serial port, so the device.read() should read it and print it. I made a mistake in the code I copied across – it should be print device.read().
Dec 8, 2017 at 14:37 comment added gre_gor What is device.read() supposed to do?
Dec 8, 2017 at 12:19 comment added chkrs888. Thank you for the suggestion. I tried it and it still works with Serial Monitor but not with Python...
Dec 8, 2017 at 11:00 comment added user2261062 raw_data is a char vector, so when reading from Serial cast it to a char: raw_data[i] = (char)Serial.read()
Dec 8, 2017 at 3:16 history edited dda CC BY-SA 3.0
deleted 167 characters in body; edited title
Dec 7, 2017 at 20:59 history edited gre_gor CC BY-SA 3.0
added 63 characters in body; added 12 characters in body
Dec 7, 2017 at 20:52 review First posts
Dec 7, 2017 at 20:55
Dec 7, 2017 at 20:50 history asked chkrs888. CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /