Newbie here. init startup values problem

hi all. i am very new to all this, so please be gentle, lol.
i have downloaded an onstep file to load into my arduino mega 2560 but its coming up with an error and not letting me upload it to the arduino.
please can someone help me and tell/show me what i need to do. many thanks
p.s. the file was meant to be a simple, download and copy into the software. but its saying init_startup_values was not declared in this scope.

Chris.

Arduino: 1.8.13 (Windows 7), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino: In function ‘void setup()’:

OnStep:55:3: error: ‘Init_Startup_Values’ was not declared in this scope

Init_Startup_Values();

^~~~~~~~~~~~~~~~~~~

OnStep:58:3: error: ‘Init_Pins’ was not declared in this scope

Init_Pins();

^~~~~~~~~

OnStep:61:3: error: ‘Init_EEPROM_Values’ was not declared in this scope

Init_EEPROM_Values();

^~~~~~~~~~~~~~~~~~

OnStep:64:20: error: ‘EEPROM_readLong’ was not declared in this scope

siderealInterval=EEPROM_readLong(EE_siderealInterval); // the number of 16MHz clocks in one sidereal second (this is scaled to actual processor speed)

                ^~~~~~~~~~~~~~~

OnStep:75:3: error: ‘Init_ReadEEPROM_Values’ was not declared in this scope

Init_ReadEEPROM_Values();

^~~~~~~~~~~~~~~~~~~~~~

OnStep:77:3: error: ‘SetTrackingRate’ was not declared in this scope

SetTrackingRate(default_tracking_rate);

^~~~~~~~~~~~~~~

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino:77:3: note: suggested alternative: ‘lastTrackingState’

SetTrackingRate(default_tracking_rate);

^~~~~~~~~~~~~~~

lastTrackingState

OnStep:78:3: error: ‘SetDeltaTrackingRate’ was not declared in this scope

SetDeltaTrackingRate();

^~~~~~~~~~~~~~~~~~~~

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino:78:3: note: suggested alternative: ‘default_tracking_rate’

SetDeltaTrackingRate();

^~~~~~~~~~~~~~~~~~~~

default_tracking_rate

OnStep:81:3: error: ‘Init_Start_Timers’ was not declared in this scope

Init_Start_Timers();

^~~~~~~~~~~~~~~~~

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino: In function ‘void loop()’:

OnStep:121:3: error: ‘ST4’ was not declared in this scope

ST4();

^~~

OnStep:122:67: error: ‘Guide’ was not declared in this scope

if ((trackingState!=TrackingMoveTo) && (parkStatus==NotParked)) Guide();

                                                               ^~~~~

OnStep:128:5: error: ‘Pec’ was not declared in this scope

 Pec();

 ^~~

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino:128:5: note: suggested alternative: ‘getc’

 Pec();

 ^~~

 getc

OnStep:129:10: error: ‘DisablePec’ was not declared in this scope

} else DisablePec();

      ^~~~~~~~~~

OnStep:156:7: error: ‘moveTo’ was not declared in this scope

   moveTo();

   ^~~~~~

OnStep:192:19: error: ‘do_fastalt_calc’ was not declared in this scope

 if (lst%3==0) do_fastalt_calc();

               ^~~~~~~~~~~~~~~

OnStep:199:35: error: ‘do_refractionRate_calc’ was not declared in this scope

 if (refraction && (lst%3!=0)) do_refractionRate_calc();

                               ^~~~~~~~~~~~~~~~~~~~~~

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino:199:35: note: suggested alternative: ‘RefractionRateRange’

 if (refraction && (lst%3!=0)) do_refractionRate_calc();

                               ^~~~~~~~~~~~~~~~~~~~~~

                               RefractionRateRange

OnStep:322:5: error: ‘SetDeltaTrackingRate’ was not declared in this scope

 SetDeltaTrackingRate();

 ^~~~~~~~~~~~~~~~~~~~

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino:322:5: note: suggested alternative: ‘default_tracking_rate’

 SetDeltaTrackingRate();

 ^~~~~~~~~~~~~~~~~~~~

 default_tracking_rate

OnStep:366:13: error: ‘getEqu’ was not declared in this scope

         getEqu(&newRA,&newDec,false);

         ^~~~~~

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino:366:13: note: suggested alternative: ‘gets’

         getEqu(&newRA,&newDec,false);

         ^~~~~~

         gets

OnStep:367:17: error: ‘goToEqu’ was not declared in this scope

         if (goToEqu(newRA,newDec)) { // returns 0 on success

             ^~~~~~~

OnStep:388:10: error: ‘getApproxDec’ was not declared in this scope

 if ((getApproxDec()<MinDec) || (getApproxDec()>MaxDec)) { lastError=ERR_DEC; if (trackingState==TrackingMoveTo) abortSlew=true; else trackingState=TrackingNone; }

      ^~~~~~~~~~~~

OnStep:393:5: error: ‘processCommands’ was not declared in this scope

 processCommands();

 ^~~~~~~~~~~~~~~

C:\Users\Chris\Desktop\autoscope software\OnStep\OnStep.ino: At global scope:

OnStep:396:3: error: ‘Serial’ does not name a type

Serial.begin(9600);

^~~~~~

OnStep:397:1: error: expected declaration before ‘}’ token

}

^

exit status 1

‘Init_Startup_Values’ was not declared in this scope

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.Preformatted text

Pretend that we do not know what a onestep file is nor where to get one. Post a link to the place that you got it and tell us what you expect a onestep file to do.

Read the how get the most out of this forum sticky to see how to properly post code and error messages. Remove useless white space and format the code with the IDE autoformat tool (crtl-t or Tools, Auto Format) before posting code in code tags.

What is an onstep file? Can you provide a link please?

Can you please edit your post, select all errors that you pasted, click < / > in the toolbar and save the post so we can easily copy it and we don’t have to scroll for miles :wink:

OK, so this is the website I got the files from.

And if you scroll down , they have posted a link to a modified software I need. (It’s saved on a Google drive link)

I’m so sorry about my LONG 1st message. I don’t know how to change it :confused:

You can change it with the pencil; but you seem to know that as you already modified the message.

The error message suggests you forgot to include necessary files, one of which contains missing function

OK, yeah I think I can see that now.
I really don’t understand it all unfortunately. I’m following instructions and all it said is download relevant files, and upload to the mega. Trying to do that and it’s not working :cry:
I need help, lol.