fahmis
January 2, 2024, 1:23am
1
I want to make a tool to display the ppm value in hydroponics using the dfrobot tds meter sensor which will be displayed on the LCD, but every time I want to compailing the program can't run.
what should I do
#include <EEPROM.h>
#include "GravityTDS.h"
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#define TdsSensorPin A1
GravityTDS gravityTds;
float temperature = 25,tdsValue = 0;
LiquidCrystal_I2C lcd(0x27,20,4);
void setup()
{
Serial.begin(115200);
gravityTds.setPin(TdsSensorPin);
gravityTds.setAref(5.0); //reference voltage on ADC, default 5.0V on Arduino UNO
gravityTds.setAdcRange(1024); //1024 for 10bit ADC;4096 for 12bit ADC
gravityTds.begin(); //initialization
lcd.init();
}
void loop()
{
//temperature = readTemperature(); //add your temperature sensor and read it
gravityTds.setTemperature(temperature); // set the temperature and execute temperature compensation
gravityTds.update(); //sample and calculate
tdsValue = gravityTds.getTdsValue(); // then get the value
Serial.print(tdsValue,0);
Serial.println("ppm");
lcd.setCursor(0, 0);
lcd.print("TDS Value:");
lcd.setCursor(0, 1);
lcd.print(tdsValue,0);
lcd.print(" PPM");
delay(1000);
lcd.clear();
}
Hi, @fahmis
Welcome to the forum.
https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum
The instructions will show you how to post your code in a scrolling window.
What model Arduino are you using?
Thanks.. Tom...
Hi,
Does your code compile?
If it does, does it load?
If it does, what does it do?
Have you got anything displayed on the LCD?
Thanks.. Tom..
fahmis
January 2, 2024, 5:53am
5
it doesn't compile, with no clear error description. I think it might be because there is a different library version between the lcd or the tds sensor.
Please read How to get the best out of this forum (again), edit your opening post and apply code tags as described; next save your post.
You don't mention which version of the IDE you are using; I think that it is 2.2.x.
On my system (Win10, IDE 2.2.0) your code compiles after installing the GravityTDS library from GitHub - DFRobot/GravityTDS: DFRobot Gravity: Analog TDS Sensor / Meter For Arduino SKU: SEN0244 .
Please enable verbose output during compilation in file → preferences in the IDE, compile your sketch and post the output here (again, using code tags).
Question: can you compile a simple example like blink?
Redo your post by placing your code between the tags, clicking on " < code > " in the toolbar.
What is the version of your IDE?
What is the download link for the GravityTDS.h library that you used?
in your code it points out that the library is in the same folder as your sketch: #include "GravityTDS.h".
If it is not in the same folder but together with the Arduino libraries, it should be included like this: #include <GravityTDS.h>.
I compiled it here with my IDE 1.8.9 and it compiled correctly.
I recommend that whenever you use an unconventional library, indicate the link you used to download it as a comment on the include line.
Like this:
#include "GravityTDS.h" //https://github.com/DFRobot/GravityTDS/tree/master
This will make it easier for you to make any changes in the future and will also help whoever is helping you.
fahmis
January 2, 2024, 3:31pm
8
I've posted the latest one
fahmis
January 2, 2024, 3:21pm
9
Hello Everyone
I want to make a tool to display the ppm value on hydroponics using the dfrobot tds meter sensor which will be displayed on the LCD, but every time I want to compile the program it can't run. what should I do.
I use arduino uno board with arduino ide version 2.2.1 software in win 10
this is the program
#include <EEPROM.h>
#include "GravityTDS.h"
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#define TdsSensorPin A1
GravityTDS gravityTds;
float temperature = 25,tdsValue = 0;
LiquidCrystal_I2C lcd(0x27,20,4);
void setup()
{
Serial.begin(115200);
gravityTds.setPin(TdsSensorPin);
gravityTds.setAref(5.0); //reference voltage on ADC, default 5.0V on Arduino UNO
gravityTds.setAdcRange(1024); //1024 for 10bit ADC;4096 for 12bit ADC
gravityTds.begin(); //initialization
lcd.init();
}
void loop()
{
//temperature = readTemperature(); //add your temperature sensor and read it
gravityTds.setTemperature(temperature); // set the temperature and execute temperature compensation
gravityTds.update(); //sample and calculate
tdsValue = gravityTds.getTdsValue(); // then get the value
Serial.print(tdsValue,0);
Serial.println("ppm");
lcd.setCursor(0, 0);
lcd.print("TDS Value:");
lcd.setCursor(0, 1);
lcd.print(tdsValue,0);
lcd.print(" PPM");
delay(1000);
lcd.clear();
}
and this is the output
FQBN: arduino:avr:uno
Using board 'uno' from platform in folder: C:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Detecting libraries used...
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard C:\Users\ADMIN 01\AppData\Local\Temp\arduino\sketches\40FD0E14976FE2B571928636C2FE97BC\sketch\SKetch_Gravity_hhhh.ino.cpp -o nul
Alternatives for EEPROM.h: [EEPROM@2.0]
ResolveLibrary(EEPROM.h)
-> candidates: [EEPROM@2.0]
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src C:\Users\ADMIN 01\AppData\Local\Temp\arduino\sketches\40FD0E14976FE2B571928636C2FE97BC\sketch\SKetch_Gravity_hhhh.ino.cpp -o nul
Alternatives for GravityTDS.h: [GravityTDS-master]
ResolveLibrary(GravityTDS.h)
-> candidates: [GravityTDS-master]
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master C:\Users\ADMIN 01\AppData\Local\Temp\arduino\sketches\40FD0E14976FE2B571928636C2FE97BC\sketch\SKetch_Gravity_hhhh.ino.cpp -o nul
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src C:\Users\ADMIN 01\AppData\Local\Temp\arduino\sketches\40FD0E14976FE2B571928636C2FE97BC\sketch\SKetch_Gravity_hhhh.ino.cpp -o nul
Alternatives for LiquidCrystal_I2C.h: [LiquidCrystal I2C@1.1.2]
ResolveLibrary(LiquidCrystal_I2C.h)
-> candidates: [LiquidCrystal I2C@1.1.2]
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\LiquidCrystal_I2C C:\Users\ADMIN 01\AppData\Local\Temp\arduino\sketches\40FD0E14976FE2B571928636C2FE97BC\sketch\SKetch_Gravity_hhhh.ino.cpp -o nul
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\LiquidCrystal_I2C C:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master\GravityTDS.cpp -o nul
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\LiquidCrystal_I2C C:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\Wire.cpp -o nul
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\LiquidCrystal_I2C C:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\utility\twi.c -o nul
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\LiquidCrystal_I2C C:\Users\ADMIN 01\Documents\Arduino\libraries\LiquidCrystal_I2C\LiquidCrystal_I2C.cpp -o nul
Generating function prototypes...
C:\Users\ADMIN 01\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master -IC:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\ADMIN 01\Documents\Arduino\libraries\LiquidCrystal_I2C C:\Users\ADMIN 01\AppData\Local\Temp\arduino\sketches\40FD0E14976FE2B571928636C2FE97BC\sketch\SKetch_Gravity_hhhh.ino.cpp -o C:\Users\ADMIN 01\AppData\Local\Temp\2487253137\sketch_merged.cpp
C:\Users\ADMIN 01\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\ADMIN 01\AppData\Local\Temp\2487253137\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\ADMIN 01\\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 -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\EEPROM\\src" "-IC:\\Users\\ADMIN 01\\Documents\\Arduino\\libraries\\GravityTDS-master" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "-IC:\\Users\\ADMIN 01\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\sketch\\SKetch_Gravity_hhhh.ino.cpp" -o "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\sketch\\SKetch_Gravity_hhhh.ino.cpp.o"
Compiling libraries...
Compiling library "EEPROM"
Compiling library "GravityTDS-master"
"C:\\Users\\ADMIN 01\\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 -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\EEPROM\\src" "-IC:\\Users\\ADMIN 01\\Documents\\Arduino\\libraries\\GravityTDS-master" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "-IC:\\Users\\ADMIN 01\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\ADMIN 01\\Documents\\Arduino\\libraries\\GravityTDS-master\\GravityTDS.cpp" -o "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\libraries\\GravityTDS-master\\GravityTDS.cpp.o"
Compiling library "Wire"
Using previously compiled file: C:\Users\ADMIN 01\AppData\Local\Temp\arduino\sketches\40FD0E14976FE2B571928636C2FE97BC\libraries\Wire\Wire.cpp.o
Using previously compiled file: C:\Users\ADMIN 01\AppData\Local\Temp\arduino\sketches\40FD0E14976FE2B571928636C2FE97BC\libraries\Wire\utility\twi.c.o
Compiling library "LiquidCrystal I2C"
"C:\\Users\\ADMIN 01\\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 -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\EEPROM\\src" "-IC:\\Users\\ADMIN 01\\Documents\\Arduino\\libraries\\GravityTDS-master" "-IC:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "-IC:\\Users\\ADMIN 01\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\ADMIN 01\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp" -o "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp.o"
Compiling core...
Using precompiled core: C:\Users\ADMIN 01\AppData\Local\Temp\arduino\cores\arduino_avr_uno_e333991bc9bc38d2adba051f04d31b5c\core.a
Linking everything together...
"C:\\Users\\ADMIN 01\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC/SKetch_Gravity_hhhh.ino.elf" "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\sketch\\SKetch_Gravity_hhhh.ino.cpp.o" "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\libraries\\GravityTDS-master\\GravityTDS.cpp.o" "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\libraries\\Wire\\utility\\twi.c.o" "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp.o" "C:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC/..\\..\\cores\\arduino_avr_uno_e333991bc9bc38d2adba051f04d31b5c\\core.a" "-LC:\\Users\\ADMIN 01\\AppData\\Local\\Temp\\arduino\\sketches\\40FD0E14976FE2B571928636C2FE97BC" -lm
Using library EEPROM at version 2.0 in folder: C:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM
Using library GravityTDS-master in folder: C:\Users\ADMIN 01\Documents\Arduino\libraries\GravityTDS-master (legacy)
Using library Wire at version 1.0 in folder: C:\Users\ADMIN 01\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire
Using library LiquidCrystal I2C at version 1.1.2 in folder: C:\Users\ADMIN 01\Documents\Arduino\libraries\LiquidCrystal_I2C
exit status 1
Compilation error: exit status 1
pert
January 2, 2024, 8:57pm
10
I have merged your cross-posts @fahmis .
Cross-posting is against the Arduino forum rules . The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
Repeated cross-posting can result in a suspension from the forum.
In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum " guide . It contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
fahmis
January 3, 2024, 2:17pm
12
oh, it's my fault, I apologize and thank you for the information.
next time it won't happen again
And thank you for your help.
1 Like
system
Closed
July 1, 2024, 2:18pm
13
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.