Skip to content

Commit 31133c9

Browse files
V1.8.51 - Updates
- Added EEPROM clear command to extended LX200 protocol.
1 parent b2e25ff commit 31133c9

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define VERSION "V1.8.50"
1+
#define VERSION "V1.8.51"

Software/Arduino code/OpenAstroTracker/src/MeadeCommandProcessor.cpp

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,6 @@ bool gpsAqcuisitionComplete(int & indicator); // defined in c72_menuHA_GPS.hpp
255255
// Returns: nothing
256256
//
257257
//------------------------------------------------------------------
258-
// SYNC FAMILY
259-
//
260-
// :CM#
261-
// Synchronizes the mount to the current target RA and DEC values.
262-
//
263-
//------------------------------------------------------------------
264258
// HOME FAMILY
265259
//
266260
// :hP#
@@ -302,6 +296,11 @@ bool gpsAqcuisitionComplete(int & indicator); // defined in c72_menuHA_GPS.hpp
302296
//------------------------------------------------------------------
303297
// EXTRA OAT FAMILY - These are meant for the PC control app
304298
//
299+
// :XFR#
300+
// Perform a Factory Reset
301+
// Clears all the EEPROM settings
302+
// Returns: 1#
303+
//
305304
// :XDnnn#
306305
// Run drift alignment
307306
// This runs a drift alignment procedure where the mounts slews east, pauses, slews west and pauses.
@@ -815,7 +814,7 @@ String MeadeCommandProcessor::handleMeadeExtraCommands(String inCmd) {
815814
_lcdMenu->setCursor(0, 1);
816815
_mount->startSlewing(TRACKING);
817816
}
818-
else if (inCmd[0] == 'G') { // Get RA/DEC steps/deg, speedfactor
817+
else if (inCmd[0] == 'G') { // Get RA/DEC steps/deg, speedfactor
819818
if (inCmd[1] == 'R') {
820819
return String(_mount->getStepsPerDegree(RA_STEPS)) + "#";
821820
}
@@ -910,6 +909,11 @@ String MeadeCommandProcessor::handleMeadeExtraCommands(String inCmd) {
910909
#endif
911910
return String("0#");
912911
}
912+
else if ((inCmd[0]== 'F') && (inCmd[1]== 'R'))
913+
{
914+
_mount->clearConfiguration();
915+
return String("1#");
916+
}
913917

914918
return "";
915919
}

0 commit comments

Comments
 (0)