Skip to main content
Arduino

Timeline for printing data from gps on Serial1 and sensors into Serial

Current License: CC BY-SA 4.0

12 events
when toggle format what by license comment
Oct 7, 2020 at 22:02 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Sep 7, 2020 at 21:10 answer added Abel timeline score: 1
Sep 7, 2020 at 20:23 comment added Omar Ben Salah it looks like my issue is similar to this one arduino.stackexchange.com/questions/70269/…
Sep 7, 2020 at 20:22 comment added Omar Ben Salah both repeat to infinity
Sep 7, 2020 at 18:00 comment added jsotola thank you for removing the pictures, now the program listing is legible .... you are missing the point about the millis() ... print the value of millis() and examine the result .... how often does loop() repeat? ... how often does if (gps.location.isUpdated()){ repeat?
Sep 7, 2020 at 17:49 comment added Omar Ben Salah @jsotola I changed it to text. My timestamp is actually just the number of seconds since 01 Jan 1970, like this
Sep 7, 2020 at 17:40 history edited Omar Ben Salah CC BY-SA 4.0
added 761 characters in body
Sep 7, 2020 at 16:51 comment added jsotola print a timestamp inside the if block ... add serial.println ( millis() ); before "Satellite Count:" .... add one also at "Hello there"
Sep 7, 2020 at 14:51 comment added Omar Ben Salah @Juraj excuse me, I don't understand. Can you please say again in other words ?
Sep 7, 2020 at 14:39 comment added Juraj add the sketch to the question? the GPS library returns data only if it is collected while your print in loop is executed in every loop
Sep 7, 2020 at 14:28 review First posts
Sep 7, 2020 at 16:54
Sep 7, 2020 at 14:17 history asked Omar Ben Salah CC BY-SA 4.0

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