This seems simple, but I've been searching for the past hour to figure this out...
Simply put, i have 2 floats, (latitude and longitude) and I want to pass them to my char ip_data with a comma (,) separating them. This way i can send it to my GPRS.
It's frustrating because I'm sure this is super simple.
Doesn't sprintf() write it out to the serial connection? how would I join these two with a "," without writing it out to the serial? (im guessing SprintF means serial print format?)
Doesn't sprintf() write it out to the serial connection? how would I join these two with a "," without writing it out to the serial? (im guessing SprintF means serial print format?)
no, the s stands for string. Print formatted into a string.