stellarium and arduino communication problem with lx200 protocol
Hi
I am new to mailing list. I am writing arduino program for my home made eq mount.
I'm in need of some help for stellarium error.
Stellarium accepts :GR# but it gives error: degree sign expected for :GD# though the telescope(arduino) is connected and seen in stellarium.
I am not able to slew or go any further due to this error.
Logs:
15757, 12:15:53.883258Z: Lx200Connection
15757, 12:15:53.883258Z: Lx200Connection
15757, 12:15:53.883258Z: Lx200Connection
15757, 12:15:53.884258Z: Connection:
15757, 12:15:59.035552Z: Lx200Connection
15757, 12:15:59.206562Z: Lx200Connection
15757, 12:15:59.206562Z: Lx200Connection
15757, 12:16:09.103128Z: Lx200Connection
15757, 12:16:09.104128Z: Connection:
15757, 12:16:09.286139Z: Connection:
15757, 12:16:09.286139Z: Lx200CommandGet
15757, 12:16:09.286139Z: Lx200Connection
15757, 12:16:09.466149Z: Connection:
15757, 12:16:09.656160Z: Connection:
15757, 12:16:09.656160Z: Lx200CommandGet
15757, 12:16:09.656160Z: Lx200CommandGet
here is the arduino code:
{
if (stringOne =="#:GR#"){
hh += HH;
mm += MM;
ss += SS1;
Serial.print (hh);
Serial.print (':');
Serial.print (mm);
Serial.print (':');
Serial.print (ss);
Serial.print ('#');
stringOne ="";
}
if (stringOne =="#:GD#"){
Serial.write ('-');
Serial.print (deg);
Serial.write ('*');
Serial.print (mint);
/
/
Serial.write ('#');
stringOne ="";
}
}
I went through almost all blogs and email list and I couldnt find a solution for this error.
Please do notify me if there are any more information required.
looking for suggestions.
thank you,
Madan
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Stellarium Edit question
- Assignee:
- Bogdan Marinov Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask madan for more information if necessary.