Code comArduino: 1.8.5 (Windows 7), Board "Arduino Uno" C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardwarepilation error.

Hello everyone. I want you to help me with a compilation problem that I can't solve. I'm using Arduino IDE 1.8.5. I am attaching the code and the error. I hope to find an answer. Thank you.

*/
#include <EEPROM.h>
#include <Wire.h>
//use #include <LiquidCrystal.h> if you don't have I2C LCD
#include <LiquidCrystal_I2C.h>
#include <MenuSystem.h>
#include "defs.h"
#include "VdiLcd.h"
#include "params.h"
#include "menu.h"
#include "encoder.h"

//use "LiquidCrystal" if you don't have I2C
LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);

CVDILcd vdi(&lcd);
CParameters params;
extern MenuSystem ms;

///////////////////////////////////////////////////////////////////////////////////////////////////////
//signal processing
bool generateReading(int* pPhase, int* pStrength, unsigned char* signalValues, bool* pbadReading) 
{
    #define SAMPLE_BUFFER_SIZE 350
    unsigned char strenth[SAMPLE_BUFFER_SIZE] = {0,};
    unsigned char angle[SAMPLE_BUFFER_SIZE] = {0,};
    int index = 0;

    bool enoughSamples = false;
    unsigned long startTime = millis();
    bool needToClearLastResult = true;
    bool retValue = true;

    while(1)
    { 
      //digitalWrite(8, LOW); //debug     
      //delayMicroseconds(100);//debug     
      //digitalWrite(8, HIGH); //debug   

      //check the encoder and break out of the processing on user button press
      if(checkEncoder())
      {
        params.m_showVDI = false;
        retValue = false;
        break;
      }

      //sample signals
      float X = 0.0F;
      float R = 0.0F;
      const int SAMPLING_LOOP = params.m_readingSamples;
      for(int n(0);n<SAMPLING_LOOP;n++)
      {
        X += analogRead(XPin);
        R += analogRead(RPin);
      }
      X /= SAMPLING_LOOP;
      R /= SAMPLING_LOOP;

      //digitalWrite(8, LOW); //debug         

      //Serial.print("------------------------------------------\r\n");
      //Serial.print(X - params.m_XBias);
      //Serial.print(",");
      //Serial.print(R - params.m_RBias);  
      //Serial.print("\r\n");      
      //delay(5);
      //continue;      

      //if opamp is saturated; break and report it
      if(X >= params.m_maxSignal || R >= params.m_maxSignal)
      {
        *pbadReading = true;
        break;
      }
      
      //bring to "virtual ADC zero"
      X = X - params.m_XBias;
      R = R - params.m_RBias;  

      //screen out samples using signal R polarity as set in params
      // 0 - use any polarity
      //-1 - use only negative R
      // 1 - use only positive R
      if( (params.m_sigPolarity<0 && R>0) || (params.m_sigPolarity>0 && R<0) )
      {
        X = 0.0F;
        R = 0.0F;
      }

      //phase in degrees
      int phase = ( (X == 0.0F && R == 0.0F) ? 0 : atan2(X, R) * 57.295F ); 
      if(phase < -90)
       phase = -90;
      else if(phase > 90) 
        phase = 90;
        
      angle[index]   = phase + 90;
      strenth[index] = int(sqrt(X*X+R*R));
      index++;

      //ring buffer; wrap around
      if(index >= SAMPLE_BUFFER_SIZE)
      {
        enoughSamples = true; 
        index = 0;
      }

      if(!enoughSamples)
        continue;

      //find peak signal
      unsigned char maxVal = 0;
      int maxIndex = -1;
      for(int n(0); n<SAMPLE_BUFFER_SIZE; n++)
      {
        if(strenth[n] > maxVal)
        {
          maxVal = strenth[n];
          maxIndex = n;               
        }
      }

      //is the peak strong enough
      if(maxVal < params.m_minSignal)
      {
        //no strong signal is present; its a good time to clear LCD if needed
        if(needToClearLastResult && (millis() - startTime) > 5000)
        {
          unsigned char empty[40]={0};    
          vdi.updateVDI(params.m_vdiStyle, 0, 0, empty, false);
          needToClearLastResult = false;
        }

        continue;
      }

      //where in the buffer is the peak
      int dist = index - maxIndex;
      if(dist < 0)
        dist = SAMPLE_BUFFER_SIZE + dist;

      //check if the peak is in the middle of the buffer
      if(dist != SAMPLE_BUFFER_SIZE/2)
        continue; 

      //////////////////////////////////////////////////////////////////////////////////////////////////////////
      //we have strong enough peak in the middle of sampling buffer
      //calculate the result and break the loop
      float angleAvg = 0.0F;
      float strengthAvg = 0.0F;
      int avgSamples = 0;
      const int reach = 1;        
      int n = maxIndex - reach;
      while(avgSamples < (reach*2 + 1))
      {
        if(n<0)
          n += SAMPLE_BUFFER_SIZE;
        else if(n>=SAMPLE_BUFFER_SIZE) 
          n %= SAMPLE_BUFFER_SIZE;  
            
        angleAvg    += (int(angle[n]) - 90);
        strengthAvg += strenth[n];  
        avgSamples++;
        n++;
      }

      *pPhase = angleAvg/avgSamples;
      *pStrength = strengthAvg/avgSamples;        

      //sound handling
      if(params.m_soundOn)
        tone(SND_PIN, *pPhase <= 0 ? SND_LOW_TONE : SND_HIGH_TONE, SND_LENGTH);

      //prepare data for the 40x8 graph
      int i = 0;
      int k = index;
      const int inc = SAMPLE_BUFFER_SIZE/40;        
      while(i<40)
      {
        if(k>=SAMPLE_BUFFER_SIZE) 
          k -= SAMPLE_BUFFER_SIZE;  
        
        signalValues[i] = float(strenth[k])/float(maxVal) * 8;

        k+=inc;
        i++;
      }

      //measurement completed; break the loop
       break;
    }

  return retValue;
}

////////////////////////////////////////////////////////////////////////////////////
// Standard arduino functions
void setup()
{
  //restore from EEPROM
  params.loadParams();

  //LCD init
  lcd.begin(16,2);
  lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);
  lcd.setBacklight(params.m_LcdBacklight ? LED_ON : LED_OFF);  

  //create menu
  createVDIMenu();

  //Encoder setup
  pinMode(PIN_ENC1, INPUT);
  pinMode(PIN_ENC2, INPUT);
  pinMode(PIN_EBTN, INPUT);
  pinMode(PIN_LED1, OUTPUT);
  digitalWrite(PIN_ENC1, HIGH);
  digitalWrite(PIN_ENC2, HIGH);
  digitalWrite(PIN_EBTN, HIGH);
  attachInterrupt(0, intrEncChange1, CHANGE);
  attachInterrupt(1, intrEncChange2, CHANGE);
  checkEncoder();      

  //initialize LCD GUI
  lcd.clear();
  lcd.home();
  lcd.setCursor(0,0);  
  lcd.print("VDI v0.3");
  delay(1000);

  unsigned char signalValues[40]={0};
  params.m_showVDI = true;
  vdi.reset();
  vdi.updateVDI(params.m_vdiStyle, 0, 0, signalValues, false);    

  if(params.m_soundOn)
  {
    tone(SND_PIN, 700, 200);
    delay(200);
  }

  //Serial.begin(115200);
}

void loop()
{
  if(params.m_showVDI)
  {
    int phase(0.0F);
    int strength(0);
    unsigned char signalValues[40]={0};    
    bool badReading(false);
    if(generateReading(&phase, &strength, signalValues, &badReading))
    {
      vdi.updateVDI(params.m_vdiStyle, phase, strength, signalValues, badReading);
    }
  }
  else
  {
    encoderHandler();    
  }
}

have a read of how-to-get-the-best-out-of-this-forum
in particular

  1. what arduino are you using?
  2. in the Arduino IDE select File>Preferences and enable "Verbose output during Compiling and upload" then compile - upload the error message text

Remove the very first line. It is the remnants of a comment. Not needed.

Hi Horace. I use arduino uno and I copied the text with the error

Arduino: 1.8.3 (Windows 7), Placă"Arduino Uno"

C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\hardware -hardware C:\Users\ovidiu\AppData\Local\Arduino15\packages -hardware C:\Users\ovidiu\Documents\Arduino\hardware -tools C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\tools-builder -tools C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\hardware\tools\avr -tools C:\Users\ovidiu\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\libraries -libraries C:\Users\ovidiu\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671 -warnings=all -build-cache C:\Users\ovidiu\AppData\Local\Temp\arduino_cache_112707 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose C:\Users\ovidiu\Documents\Arduino\tgsl_cu_VDI\tgsl_cu_VDI.ino
C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\arduino-builder -compile -logger=machine -hardware C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\hardware -hardware C:\Users\ovidiu\AppData\Local\Arduino15\packages -hardware C:\Users\ovidiu\Documents\Arduino\hardware -tools C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\tools-builder -tools C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\hardware\tools\avr -tools C:\Users\ovidiu\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\libraries -libraries C:\Users\ovidiu\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671 -warnings=all -build-cache C:\Users\ovidiu\AppData\Local\Temp\arduino_cache_112707 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose C:\Users\ovidiu\Documents\Arduino\tgsl_cu_VDI\tgsl_cu_VDI.ino
Using board 'uno' from platform in folder: C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5
Using core 'arduino' from platform in folder: C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5
Detecting libraries used...
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\tgsl_cu_VDI.ino.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\tgsl_cu_VDI.ino.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\tgsl_cu_VDI.ino.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\tgsl_cu_VDI.ino.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\tgsl_cu_VDI.ino.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\VdiLcd.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\encoder.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\params.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src\Wire.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src\utility\twi.c" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master\LiquidCrystal_I2C.cpp" -o "nul"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem\MenuSystem.cpp" -o "nul"
Generating function prototypes...
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\tgsl_cu_VDI.ino.cpp" -o "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Users\ovidiu\AppData\Local\Temp\Rar$EXa2392.6838\Arduino-1.8.3-IDE-Windows-master\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\preproc\ctags_target_for_gcc_minus_e.cpp"
Compilez schi?a...
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\VdiLcd.cpp" -o "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\VdiLcd.cpp.o"
C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\VdiLcd.cpp: In member function 'void CVDILcd::paintBigNumVDI(int, int, unsigned char*, bool)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\VdiLcd.cpp:35:84: warning: unused parameter 'signalValues' [-Wunused-parameter]

 void CVDILcd::paintBigNumVDI(int phase, int strength, unsigned char signalValues[40], bool badReading)

                                                                                    ^

"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\encoder.cpp" -o "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\encoder.cpp.o"
"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp" -o "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp.o"
C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:15:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 Menu mm("VDI menu:");

                    ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:19:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meShowVDI("Show VDI");

                              ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:20:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meSetVDIStyle("VDI style");

                                   ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:21:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meSetMinSignal("Min sig val");

                                      ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:22:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meCalibZero("Calib ADC zero");

                                      ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:23:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meCalibMax("Calib ADC max");

                                    ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:24:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meShowSignal("Show raw signal");

                                        ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:25:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meShowSignalRange("Show sig range");

                                            ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:26:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meSetBacklight("Backlight");

                                    ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:27:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meLoadDefaults("Load defaults");

                                        ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:28:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meSetSound("Sound");

                            ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:29:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meSetPolarity("Signal polarity");

                                         ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:30:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

 MenuItem meSetOversampling("Averaging");

                                       ^

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onShowVDISelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:86:34: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onShowVDISelected(MenuItem* p_menu_item)

                                  ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onSetVDIStyleSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:95:38: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onSetVDIStyleSelected(MenuItem* p_menu_item)

                                      ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onSetMinSignalSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:100:39: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onSetMinSignalSelected(MenuItem* p_menu_item)

                                       ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onCalibZeroSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:105:36: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onCalibZeroSelected(MenuItem* p_menu_item)

                                    ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onCalibMaxSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:169:35: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onCalibMaxSelected(MenuItem* p_menu_item)

                                   ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onShowSignalSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:210:37: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onShowSignalSelected(MenuItem* p_menu_item)

                                     ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onShowSignalRangeSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:276:42: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onShowSignalRangeSelected(MenuItem* p_menu_item)

                                          ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onSetBacklightSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:323:39: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onSetBacklightSelected(MenuItem* p_menu_item)

                                       ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onLoadDefaultsSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:335:39: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onLoadDefaultsSelected(MenuItem* p_menu_item)

                                       ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onSetSoundSelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:347:35: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onSetSoundSelected(MenuItem* p_menu_item)

                                   ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onSetPolaritySelected(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:352:38: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onSetPolaritySelected(MenuItem* p_menu_item)

                                      ^~~~~~~~~~~

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp: In function 'void onSetOversampling(MenuItem*)':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\menu.cpp:357:34: warning: unused parameter 'p_menu_item' [-Wunused-parameter]

 void onSetOversampling(MenuItem* p_menu_item)

                                  ^~~~~~~~~~~

"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\params.cpp" -o "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\params.cpp.o"
C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\params.cpp: In member function 'void CParameters::loadParams()':

C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\params.cpp:50:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

     if(magic == CURRENT_MAGIC)

              ^

"C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\standard" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src" "-IC:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire\src" "-IC:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master" "-IC:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem" "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\tgsl_cu_VDI.ino.cpp" -o "C:\Users\ovidiu\AppData\Local\Temp\arduino_build_989671\sketch\tgsl_cu_VDI.ino.cpp.o"
tgsl_cu_VDI:17: error: no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'

 LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);

                                                                                ^

In file included from C:\Users\ovidiu\Documents\Arduino\tgsl_cu_VDI\tgsl_cu_VDI.ino:8:0:

C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master/LiquidCrystal_I2C.h:98:2: note: candidate: LiquidCrystal_I2C::LiquidCrystal_I2C(uint8_t, uint8_t, uint8_t, uint8_t)

  LiquidCrystal_I2C(uint8_t lcd_addr, uint8_t lcd_cols, uint8_t lcd_rows, uint8_t charsize = LCD_5x8DOTS);

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

C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master/LiquidCrystal_I2C.h:98:2: note:   candidate expects 4 arguments, 8 provided

C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master/LiquidCrystal_I2C.h:87:7: note: candidate: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(const LiquidCrystal_I2C&)

 class LiquidCrystal_I2C : public Print {

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

C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master/LiquidCrystal_I2C.h:87:7: note:   candidate expects 1 argument, 8 provided

C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master/LiquidCrystal_I2C.h:87:7: note: candidate: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(LiquidCrystal_I2C&&)

C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master/LiquidCrystal_I2C.h:87:7: note:   candidate expects 1 argument, 8 provided

C:\Users\ovidiu\Documents\Arduino\tgsl_cu_VDI\tgsl_cu_VDI.ino: In function 'void setup()':

tgsl_cu_VDI:208: error: no matching function for call to 'LiquidCrystal_I2C::begin(int, int)'

   lcd.begin(16,2);

                 ^

In file included from C:\Users\ovidiu\Documents\Arduino\tgsl_cu_VDI\tgsl_cu_VDI.ino:8:0:

C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master/LiquidCrystal_I2C.h:106:7: note: candidate: void LiquidCrystal_I2C::begin()

  void begin(); // Int with pin default ARDUINO

       ^~~~~

C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master/LiquidCrystal_I2C.h:106:7: note:   candidate expects 0 arguments, 2 provided

tgsl_cu_VDI:209: error: 'class LiquidCrystal_I2C' has no member named 'setBacklightPin'; did you mean 'setBacklight'?

   lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);

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

       setBacklight

tgsl_cu_VDI:209: error: 'POSITIVE' was not declared in this scope

   lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);

                                      ^~~~~~~~

In file included from C:\Users\ovidiu\Documents\Arduino\tgsl_cu_VDI\tgsl_cu_VDI.ino:5:0:

C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src/EEPROM.h: At global scope:

C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM\src/EEPROM.h:145:20: warning: 'EEPROM' defined but not used [-Wunused-variable]

 static EEPROMClass EEPROM;

                    ^~~~~~

Utilizând libraria EEPROM la versiunea 2.0 în directorul: C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\EEPROM 
Utilizând libraria Wire la versiunea 1.0 în directorul: C:\Users\ovidiu\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire 
Se folose?te biblioteca LiquidCrystal_I2C-master în directorul: C:\Users\ovidiu\Documents\Arduino\libraries\LiquidCrystal_I2C-master (legacy)
Se folose?te biblioteca MenuSystem în directorul: C:\Users\ovidiu\Documents\Arduino\libraries\MenuSystem (legacy)
exit status 1
no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'

`

check the parameters of the above constructor which is generating an error message

you also have many warnings which would be worth looking at

I tried to change the LiquidCrystal_I2C library and still the same problem...

[image]

if I look at LiquidCrystal_I2C.h the constructor is

LiquidCrystal_I2C(uint8_t lcd_Addr,uint8_t lcd_cols,uint8_t lcd_rows);

looks as though you are including the wrong library
where did you find the example for

LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);

how is you LCD connected? e.g. I2C or using digital GPIO pins?

the connection to the LCD is I2C, I am also attaching a diagram

[ima


ge]

have a look at the examples LCD Displays (Blue and Yellow) with I2C/TWI Interface

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.