Skip to main content

Timeline for Reading from 2 serial ports

Current License: CC BY-SA 4.0

20 events
when toggle format what by license comment
Feb 24, 2020 at 20:48 vote accept Abionics
Feb 24, 2020 at 20:48 vote accept Abionics
Feb 24, 2020 at 20:48
Feb 24, 2020 at 20:48 vote accept Abionics
Feb 24, 2020 at 20:48
Feb 24, 2020 at 10:46 answer added Majenko timeline score: 0
Feb 23, 2020 at 20:19 answer added chrisl timeline score: 0
Feb 23, 2020 at 20:06 comment added Abionics @Jurai only ard to ard without any accessories
Feb 23, 2020 at 20:04 comment added Abionics @Juraj no way, it is too big
Feb 23, 2020 at 20:00 comment added Juraj can you use RS485?
Feb 23, 2020 at 19:55 comment added Abionics @Juraj to be correct, I don't know the port from what I receive the data. I don't receive data from 2 ports simultaneously, only from one, but it may be any port
Feb 23, 2020 at 19:52 comment added Abionics @Juraj,thnks much for your answer , but if I wait after listen(), I can loose data from another serial. Is any way to receive data from 2+ ports simultaneously?
Feb 23, 2020 at 19:48 history edited Abionics CC BY-SA 4.0
edited body
Feb 23, 2020 at 19:43 comment added Juraj no. buffer is static
Feb 23, 2020 at 19:40 comment added Abionics @Jurai each serial has own buffer
Feb 23, 2020 at 19:38 comment added Juraj switching listen() clears the receive buffer. after listen() wait for data
Feb 23, 2020 at 19:35 history edited Abionics CC BY-SA 4.0
added 19 characters in body
Feb 23, 2020 at 19:34 comment added Juraj so no it will not wait. it has no clue to know if the port listens
Feb 23, 2020 at 19:33 comment added Abionics @Juraj yes of course
Feb 23, 2020 at 19:32 comment added Juraj you think the other side will wait until you listen? you switch listen() so fast so no port will listen
Feb 23, 2020 at 19:25 review First posts
Feb 23, 2020 at 19:42
Feb 23, 2020 at 19:24 history asked Abionics CC BY-SA 4.0