Closed katoury closed 1 month ago
I don't have this problem. When I can't get it at the beginning, it will remain at 0 until I get it.
@lewisxhe Hi, it seems the picture you sent back is not from the code I mentioned. Here the result of "SendLocationFromSMS_Use_TinyGPS.ino" 09:24:54.931 - MESSAGE: Longitude: -0....... Latitude:....... 09:24:54.931 -> UTC Date:2024/9/13 09:24:54.931 →> UTC Time:7:24:54 09:24:54.931 → Speed: 163.00Km/H 09:24:54.931 →> course: 0.00 09:24:54.931 -> 09:24:55.623 → Send sms message OK
the code I added :
double course2 = gps.course.deg();
...
msg_str += "course:";
msg_str += String(course2);
If you want the course, then you should add some judgment and send the SMS only after getting the course
What do you mean by "then you should add some judgment " ??
Ok I did it.. so I have to check what I have done wrong... I will be back to tell you if it works or not
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Hi, Because I need to mention the course in my code, I have tried "SendLocationFromSMS_Use_TinyGPS.ino" example with adding "course", but it displays nothing but "course:0.00". course2 = gps.course.deg(); Any idea to get that data ? Thanks