Mmmh, when I let it run on my PC, it does indeed work. But since it's designed to run on an Atmel Chip, I have to cross-compile and there seems to be something going wrong with scanf and sscanf. ...
Type: Posts; User: Neolyth
Mmmh, when I let it run on my PC, it does indeed work. But since it's designed to run on an Atmel Chip, I have to cross-compile and there seems to be something going wrong with scanf and sscanf. ...
Ok,
well I did some research and found atof() as another possibility for me. Altough I would love to simply use sscanf to parse the entire String at one, I now keep using strtok() to decompose the...
Yes, true. I omit it for the use of char[], but well...
Even when using the ampersand, the result still is 0.000000
Well, I tried something. When I do this:
int j;
int k;
char...
So, slept over it :)
Well, of course, you're right. So, let me show you how things are right now:
char gpsLatitudeString[20];
float gpsLatitude;
char *pointer;
[...]
Hey,
great... That already solved it. The problem with the second variant was apparently more Atmel-ringbuffer based. But that one got solved too. I told you, newbie stuff. Probably pure blindness...
Hello there,
first of all, great Forum here. Already helped me alot up until now. However, there is one thing right now I can't seem to figure out, which is why I decided to make my first post here....