Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Troubleshooting RX board
#11

Hi Zdenek,
sry but, when I insert code, paste and post, the forum ask me " this message is a spam and not use...." :/
I check again the TX adress
About the last version... When I use last version (5) have some err bettwen compilation... See bellow

Sry, I Am not able insert "code" :/



Code:
Arduino: 1.8.5 (Windows 7), Vývojová deska: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

WeatherDuinoPro2Plus_RX_v500_b002:521: error: expected constructor, destructor, or type conversion before '(' token

   pinMode(TFT_RST, OUTPUT); digitalWrite(TFT_RST, LOW);   // Reset Display

          ^

WeatherDuinoPro2Plus_RX_v500_b002:521: error: expected constructor, destructor, or type conversion before '(' token

   pinMode(TFT_RST, OUTPUT); digitalWrite(TFT_RST, LOW);   // Reset Display

                                         ^

WeatherDuinoPro2Plus_RX_v500_b002:522: error: expected constructor, destructor, or type conversion before '(' token

   delay(200);

        ^

WeatherDuinoPro2Plus_RX_v500_b002:523: error: expected constructor, destructor, or type conversion before '(' token

   digitalWrite(TFT_RST, HIGH);                      

               ^

WeatherDuinoPro2Plus_RX_v500_b002:524: error: expected constructor, destructor, or type conversion before '(' token

   delay(200);

        ^

WeatherDuinoPro2Plus_RX_v500_b002:541: error: 'tft' does not name a type

   tft.init();

   ^

WeatherDuinoPro2Plus_RX_v500_b002:542: error: 'tft' does not name a type

   tft.setRotation(3);

   ^

WeatherDuinoPro2Plus_RX_v500_b002:543: error: 'tft' does not name a type

   tft.setTextWrap(false);

   ^

WeatherDuinoPro2Plus_RX_v500_b002:545: error: 'touch' does not name a type

     touch.begin();

     ^

WeatherDuinoPro2Plus_RX_v500_b002:556: error: 'dataflash' does not name a type

     dataflash.setup(FLASH_CS);  // Flash CS line

     ^

WeatherDuinoPro2Plus_RX_v500_b002:557: error: expected constructor, destructor, or type conversion before '(' token

     delay(10);

          ^

WeatherDuinoPro2Plus_RX_v500_b002:558: error: 'dataflash' does not name a type

     dataflash.begin();

     ^

WeatherDuinoPro2Plus_RX_v500_b002:567: error: expected constructor, destructor, or type conversion before '(' token

   memcpy(&loopData, &loopInit, sizeof(loopInit));

         ^

WeatherDuinoPro2Plus_RX_v500_b002:568: error: expected constructor, destructor, or type conversion before '(' token

   memcpy(&loop2Data, &loop2Init, sizeof(loop2Init));

         ^

WeatherDuinoPro2Plus_RX_v500_b002:571: error: 'sCmd' does not name a type

   sCmd.addCommand("LOOP", cmdLoop);           // Send the loop data

   ^

WeatherDuinoPro2Plus_RX_v500_b002:572: error: 'sCmd' does not name a type

   sCmd.addCommand("LPS", cmdLoop2);           // Send the loop2 data

   ^

WeatherDuinoPro2Plus_RX_v500_b002:573: error: 'sCmd' does not name a type

   sCmd.addCommand("NVER", cmdNver);           // Send the version string

   ^

WeatherDuinoPro2Plus_RX_v500_b002:575: error: 'sCmd' does not name a type

   sCmd.addCommand("VER", cmdVer);             // Send the associated date for this version

   ^

WeatherDuinoPro2Plus_RX_v500_b002:576: error: 'sCmd' does not name a type

   sCmd.addCommand("WRD\x12M", cmdWRD);        // Support the Davis legacy "WRD" command

   ^

WeatherDuinoPro2Plus_RX_v500_b002:577: error: 'sCmd' does not name a type

   sCmd.addCommand("GETTIME", cmdGettime);     // Send back current RTC date/time

   ^

WeatherDuinoPro2Plus_RX_v500_b002:578: error: 'sCmd' does not name a type

   sCmd.addCommand("SETTIME", cmdSettime);     // Update current RTC date/time from PC

   ^

WeatherDuinoPro2Plus_RX_v500_b002:579: error: 'sCmd' does not name a type

   sCmd.addCommand("EEBRD", cmdEebrd);         // EEPROM Read

   ^

WeatherDuinoPro2Plus_RX_v500_b002:580: error: 'sCmd' does not name a type

   sCmd.setDefaultHandler(cmdUnrecognized);    // Handler for command that isn't matched

   ^

WeatherDuinoPro2Plus_RX_v500_b002:581: error: 'sCmd' does not name a type

   sCmd.setNullHandler(cmdWake);               // Handler for an empty line to wake the simulated console

   ^

WeatherDuinoPro2Plus_RX_v500_b002:582: error: 'sCmd' does not name a type

   sCmd.addCommand("RXCHECK", cmdRxCheck);     // RX diagnostics (Implementated just to avoid error on the logs)

   ^

WeatherDuinoPro2Plus_RX_v500_b002:583: error: 'sCmd' does not name a type

   sCmd.addCommand("BARDATA", cmdBardata);     // Barometer calibration data

   ^

WeatherDuinoPro2Plus_RX_v500_b002:585: error: 'sCmd' does not name a type

   sCmd.addCommand("DMPAFT", cmdDmpaft);       // Download archive records after date:time specified

   ^

WeatherDuinoPro2Plus_RX_v500_b002:586: error: 'sCmd' does not name a type

   sCmd.addCommand("SETPER", cmdSetper);       // Set archive interval period

   ^

WeatherDuinoPro2Plus_RX_v500_b002:587: error: 'PageToWrite' does not name a type

   PageToWrite = ExternalEeprom_readInt(PageToWrite_Eeprom_adr);

   ^

WeatherDuinoPro2Plus_RX_v500_b002:591: error: expected unqualified-id before 'if'

   if ((ExternalEeprom_read(SoftwareVersion_Eeprom_adr) != SoftwareVersion) || (ExternalEeprom_read(SoftwareBuild_Eeprom_adr) != SoftwareBuild) )

   ^

exit status 1
expected constructor, destructor, or type conversion before '(' token

WeatherDuinoPro2Plus_RX_v500_b002:521: error: expected constructor, destructor, or type conversion before '(' token

   pinMode(TFT_RST, OUTPUT); digitalWrite(TFT_RST, LOW);   // Reset Display

          ^

WeatherDuinoPro2Plus_RX_v500_b002:521: error: expected constructor, destructor, or type conversion before '(' token

   pinMode(TFT_RST, OUTPUT); digitalWrite(TFT_RST, LOW);   // Reset Display

                                         ^

WeatherDuinoPro2Plus_RX_v500_b002:522: error: expected constructor, destructor, or type conversion before '(' token

   delay(200);

        ^

WeatherDuinoPro2Plus_RX_v500_b002:523: error: expected constructor, destructor, or type conversion before '(' token

   digitalWrite(TFT_RST, HIGH);                      

               ^

WeatherDuinoPro2Plus_RX_v500_b002:524: error: expected constructor, destructor, or type conversion before '(' token

   delay(200);

        ^

WeatherDuinoPro2Plus_RX_v500_b002:541: error: 'tft' does not name a type

   tft.init();

   ^

WeatherDuinoPro2Plus_RX_v500_b002:542: error: 'tft' does not name a type

   tft.setRotation(3);

   ^

WeatherDuinoPro2Plus_RX_v500_b002:543: error: 'tft' does not name a type

   tft.setTextWrap(false);

   ^

WeatherDuinoPro2Plus_RX_v500_b002:545: error: 'touch' does not name a type

     touch.begin();

     ^

WeatherDuinoPro2Plus_RX_v500_b002:556: error: 'dataflash' does not name a type

     dataflash.setup(FLASH_CS);  // Flash CS line

     ^

WeatherDuinoPro2Plus_RX_v500_b002:557: error: expected constructor, destructor, or type conversion before '(' token

     delay(10);

          ^

WeatherDuinoPro2Plus_RX_v500_b002:558: error: 'dataflash' does not name a type

     dataflash.begin();

     ^

WeatherDuinoPro2Plus_RX_v500_b002:567: error: expected constructor, destructor, or type conversion before '(' token

   memcpy(&loopData, &loopInit, sizeof(loopInit));

         ^

WeatherDuinoPro2Plus_RX_v500_b002:568: error: expected constructor, destructor, or type conversion before '(' token

   memcpy(&loop2Data, &loop2Init, sizeof(loop2Init));

         ^

WeatherDuinoPro2Plus_RX_v500_b002:571: error: 'sCmd' does not name a type

   sCmd.addCommand("LOOP", cmdLoop);           // Send the loop data

   ^

WeatherDuinoPro2Plus_RX_v500_b002:572: error: 'sCmd' does not name a type

   sCmd.addCommand("LPS", cmdLoop2);           // Send the loop2 data

   ^

WeatherDuinoPro2Plus_RX_v500_b002:573: error: 'sCmd' does not name a type

   sCmd.addCommand("NVER", cmdNver);           // Send the version string

   ^

WeatherDuinoPro2Plus_RX_v500_b002:575: error: 'sCmd' does not name a type

   sCmd.addCommand("VER", cmdVer);             // Send the associated date for this version

   ^

WeatherDuinoPro2Plus_RX_v500_b002:576: error: 'sCmd' does not name a type

   sCmd.addCommand("WRD\x12M", cmdWRD);        // Support the Davis legacy "WRD" command

   ^

WeatherDuinoPro2Plus_RX_v500_b002:577: error: 'sCmd' does not name a type

   sCmd.addCommand("GETTIME", cmdGettime);     // Send back current RTC date/time

   ^

WeatherDuinoPro2Plus_RX_v500_b002:578: error: 'sCmd' does not name a type

   sCmd.addCommand("SETTIME", cmdSettime);     // Update current RTC date/time from PC

   ^

WeatherDuinoPro2Plus_RX_v500_b002:579: error: 'sCmd' does not name a type

   sCmd.addCommand("EEBRD", cmdEebrd);         // EEPROM Read

   ^

WeatherDuinoPro2Plus_RX_v500_b002:580: error: 'sCmd' does not name a type

   sCmd.setDefaultHandler(cmdUnrecognized);    // Handler for command that isn't matched

   ^

WeatherDuinoPro2Plus_RX_v500_b002:581: error: 'sCmd' does not name a type

   sCmd.setNullHandler(cmdWake);               // Handler for an empty line to wake the simulated console

   ^

WeatherDuinoPro2Plus_RX_v500_b002:582: error: 'sCmd' does not name a type

   sCmd.addCommand("RXCHECK", cmdRxCheck);     // RX diagnostics (Implementated just to avoid error on the logs)

   ^

WeatherDuinoPro2Plus_RX_v500_b002:583: error: 'sCmd' does not name a type

   sCmd.addCommand("BARDATA", cmdBardata);     // Barometer calibration data

   ^

WeatherDuinoPro2Plus_RX_v500_b002:585: error: 'sCmd' does not name a type

   sCmd.addCommand("DMPAFT", cmdDmpaft);       // Download archive records after date:time specified

   ^

WeatherDuinoPro2Plus_RX_v500_b002:586: error: 'sCmd' does not name a type

   sCmd.addCommand("SETPER", cmdSetper);       // Set archive interval period

   ^

WeatherDuinoPro2Plus_RX_v500_b002:587: error: 'PageToWrite' does not name a type

   PageToWrite = ExternalEeprom_readInt(PageToWrite_Eeprom_adr);

   ^

WeatherDuinoPro2Plus_RX_v500_b002:591: error: expected unqualified-id before 'if'

   if ((ExternalEeprom_read(SoftwareVersion_Eeprom_adr) != SoftwareVersion) || (ExternalEeprom_read(SoftwareBuild_Eeprom_adr) != SoftwareBuild) )

   ^

exit status 1
expected constructor, destructor, or type conversion before '(' token

Táto zpráva by měla mít víc informacií v
"Zobrazení podrobného výstupu při kompilaci"
podle zapnuté volby v Soubor -> Nastavení.
Reply


Messages In This Thread
Troubleshooting RX board - by ok2arm - 27-01-2018, 19:28
RE: Troubleshooting RX board - by werk_ag - 28-01-2018, 01:54
RE: Troubleshooting RX board - by hornychz - 28-01-2018, 01:56
RE: Troubleshooting RX board - by rich27gc - 28-01-2018, 10:18
RE: Troubleshooting RX board - by f4aii - 28-01-2018, 14:14
RE: Troubleshooting RX board - by ok2arm - 28-01-2018, 15:54
RE: Troubleshooting RX board - by hornychz - 28-01-2018, 16:40
RE: Troubleshooting RX board - by werk_ag - 28-01-2018, 16:47
RE: Troubleshooting RX board - by ok2arm - 28-01-2018, 18:12
RE: Troubleshooting RX board - by hornychz - 28-01-2018, 22:59
RE: Troubleshooting RX board - by werk_ag - 29-01-2018, 01:19
RE: Troubleshooting RX board - by ok2arm - 28-01-2018, 23:47
RE: Troubleshooting RX board - by russellb - 12-07-2018, 01:06
RE: Troubleshooting RX board - by werk_ag - 12-07-2018, 03:59
RE: Troubleshooting RX board - by russellb - 12-07-2018, 08:58
RE: Troubleshooting RX board - by werk_ag - 13-07-2018, 03:32
RE: Troubleshooting RX board - by russellb - 13-07-2018, 07:20
RE: Troubleshooting RX board - by russellb - 13-07-2018, 07:43
RE: Troubleshooting RX board - by werk_ag - 13-07-2018, 16:49
RE: Troubleshooting RX board - by russellb - 14-07-2018, 09:55
RE: Troubleshooting RX board - by werk_ag - 14-07-2018, 17:39
RE: Troubleshooting RX board - by russellb - 15-07-2018, 08:22
RE: Troubleshooting RX board - by werk_ag - 15-07-2018, 22:59
RE: Troubleshooting RX board - by russellb - 16-07-2018, 08:11
RE: Troubleshooting RX board - by engolling - 16-07-2018, 22:57
RE: Troubleshooting RX board - by russellb - 17-07-2018, 02:23
RE: Troubleshooting RX board - by werk_ag - 17-07-2018, 02:43
RE: Troubleshooting RX board - by russellb - 23-07-2018, 09:50
RE: Troubleshooting RX board - by russellb - 25-07-2018, 09:20
RE: Troubleshooting RX board - by engolling - 25-07-2018, 19:16
RE: Troubleshooting RX board - by werk_ag - 26-07-2018, 01:08
RE: Troubleshooting RX board - by russellb - 29-07-2018, 02:21
RE: Troubleshooting RX board - by werk_ag - 29-07-2018, 02:57
RE: Troubleshooting RX board - by russellb - 29-07-2018, 07:20
RE: Troubleshooting RX board - by russellb - 08-08-2018, 08:21
RE: Troubleshooting RX board - by werk_ag - 09-08-2018, 04:10
RE: Troubleshooting RX board - by JT118 - 08-08-2018, 09:35



Users browsing this thread: 1 Guest(s)