Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Put Serial data to list
#6
From the Serial.println documentation

Prints data to the serial port as human-readable ASCII text followed by a carriage return character (ASCII 13, or '\r')and a newline character (ASCII 10, or '\n'). This command takes the same forms as Serial.print().

You get the \r\n from the println. Read the manual. When you have a problem it should be the first place you look. It would have saved you a week or more.
Reply


Messages In This Thread
Put Serial data to list - by PA3040 - Aug-29-2020, 08:18 AM
RE: Put Serial data to list - by DeaD_EyE - Aug-29-2020, 09:55 AM
RE: Put Serial data to list - by PA3040 - Aug-30-2020, 01:03 PM
RE: Put Serial data to list - by deanhystad - Aug-30-2020, 02:43 PM
RE: Put Serial data to list - by PA3040 - Aug-31-2020, 05:04 AM
RE: Put Serial data to list - by deanhystad - Sep-01-2020, 02:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with to check an Input list data with a data read from an external source sacharyya 3 421 Mar-09-2024, 12:33 PM
Last Post: Pedroski55
  pyserial/serial "has no attribute 'Serial' " gowb0w 9 4,162 Aug-24-2023, 07:56 AM
Last Post: gowb0w
  Help reading data from serial RS485 korenron 8 14,046 Nov-14-2021, 06:49 AM
Last Post: korenron
  Why changing data in a copied list changes the original list? plumberpy 3 2,252 Aug-14-2021, 02:26 AM
Last Post: plumberpy
  Reading Serial data Moris526 6 5,428 Dec-26-2020, 04:04 PM
Last Post: Moris526
  Taking serial data to perform key.press functions ausbollinger13 1 2,324 Sep-04-2020, 10:26 PM
Last Post: bowlofred
  Reading serial data and saving to a file Mohan 1 7,562 May-25-2020, 04:18 PM
Last Post: pyzyx3qwerty
  Read Data from Serial Port PA3040 3 3,201 Feb-16-2020, 04:54 AM
Last Post: PA3040
  Reading data from serial port as byte array vlad93 1 12,092 May-18-2019, 05:26 AM
Last Post: heiner55
  How can I only receive data from selected serial numbers MasterCATZ 7 3,558 Apr-20-2019, 08:35 AM
Last Post: MasterCATZ

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020