Menu

#1 Launch Control System

1.0
closed
2024-02-17
2024-02-07
No

When attempting to compile, nine errors are flagged:
Line 405 splashScreen LCD1 was not declared
Line 427 splashScreen LCD2 was not declared
Line 430 splashScreen was not declared
Line 462 dateAndTimeSendMonitor was not declared
Line 574 ledDEbounceInterrupt was not declared
Line 593 fireButtonRoutine was not declared
Line 653 launchCountdown was not declared
Line 668 showSerialMonitor was not declared
Line 671 showLedServer was not declared

Does anyone know how to correct these errors?

When the above lines are // out, the code complies. Not sure how this will effect the operation of the LCS

Discussion

  • Austin Aerospace Educational Network

    Let me see if I can replicate the errors you are having. I'll get back to you soon.

     
  • Austin Aerospace Educational Network

    Believe I have figured out what is going on. It appears some of the code tabs are missing. When a tab is missing, the compiler can't find the code being called and throws up the error. All of the errors listed are calls to functions in tabs other than the main tab, "Launch_Controller_1.0.0.ino."

    When you open the program, there should be a total of 17 tabs. They include:
    * Launch_Controller_1.0.0.ino
    * Calculation_BMP180.ino
    * Calculation_DHT11.ino
    * ISR_Fire_Button.ino
    * ISR_LCD_Display.ino
    * LCD_Display.ino
    * LCD_Display_BMP180.ino
    * LCD_Display_DHT11.ino
    * LCD_Display_Date_Time.ino
    * Launch_Abort_Sequence.ino
    * Launch_Countdown_Sequence.ino
    * Serial_Monitor_BMP180.ino
    * Serial_Monitor_DHT11.ino
    * Serial_Monitor_Date_Time.ino
    * Serial_Monitor_Display.ino
    * LCD_Display_Splash_Screen.ino
    * Serial_Monitor_Splash_Screen.ino

    Each tab is a separate ino file. The directory that you extract the program into should contain all 17 ino files. If any files are missing, you will get the errors you are seeing and the program won't compile.

    If all 17 files are there, make sure that each file has code contained within it and did not get corrupted during the download process. If you find some of the files are empty or contain gibberish, try downloading the program again. Make sure you extract all of the files into a single directory.

    The reason the program compiles when you comment out the lines is that the program is no longer calling these additional functions. Even though the program compiles, it will not work, as these functions will be missing.

    Let me know if this works and corrects the issues you are having.

     
  • Austin Aerospace Educational Network

    • status: open --> pending
    • assigned_to: Austin Aerospace Educational Network
     
  • Austin Aerospace Educational Network

    Without any further comment, we are going to assume that this issue has been resolved and close out the ticket.

     
  • Austin Aerospace Educational Network

    • status: pending --> closed
    • discussion: enabled --> disabled
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.