Skip to main content
15 events
when toggle format what by license comment
Feb 13, 2018 at 1:16 vote accept CR7
Feb 10, 2018 at 16:45 comment added gre_gor You are sending 5.75.75.75.75.75.75.75.75.75.7.
Feb 10, 2018 at 15:13 answer added Edgar Bonet timeline score: 0
Feb 10, 2018 at 10:26 comment added CR7 @Mikael Patel... Thank you for the response. It works. Thanks again.
Feb 10, 2018 at 10:16 comment added Mikael Patel Start by removing the "delay(1000);" in loop(). Why would you want that? And change the order of "time.sleep(1)" and "ser.flush()". Last but not least add a space character between writing numbers.
Feb 10, 2018 at 9:21 answer added user31481 timeline score: 0
Feb 10, 2018 at 9:02 history edited CR7 CC BY-SA 3.0
added 116 characters in body
Feb 10, 2018 at 8:30 comment added user31481 Problems: 1) Data doesn't arrive in all at once, but in chunks. 2) You don't filter out control chars like LF, CR and others. 3) You never look for a delimiter to sync things between Arduino and Python. 4) Never convert the string to float. Google "Arduino parse string" and study that
Feb 10, 2018 at 8:25 history edited user31481 CC BY-SA 3.0
Format code
Feb 10, 2018 at 8:22 history edited CR7 CC BY-SA 3.0
added 875 characters in body
Feb 10, 2018 at 8:11 review Close votes
Feb 23, 2018 at 1:46
Feb 10, 2018 at 8:10 comment added user31481 Please edit your question to include a Minimal, Complete, and Verifiable example of code, not just snippets. Minimal means you've stripped away irrelevant stuff, just leaving what's needed to show the problem. Complete means all the library names are shown, all the variable declarations, and all the function definitions – so people don't have to waste time guessing what you did or what you meant. Verifiable means it can be compiled and tested, allowing other people to test their theories about the problem
Feb 10, 2018 at 8:06 history edited CR7 CC BY-SA 3.0
deleted 1 character in body
Feb 10, 2018 at 7:51 review First posts
Feb 10, 2018 at 7:55
Feb 10, 2018 at 7:50 history asked CR7 CC BY-SA 3.0