I am new to this forum so please do understand....
I am trying to use I2C for my 16x2 LCD and this error shows up:
"exit status 1 Error compiling for board Arduino/Genuino Uno."
Source:
http://www.electronoobs.com/eng_arduino_tut1.php
Code:
/* http://www.electronoobs.com */
/-----( Inport library )-----/
#include <Wire.h>
#include <LiquidCrystal.h>
#include <LiquidCrystal_I2C.h>
//i2c pins
LiquidCrystal_I2C lcd(0x3h, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); //
void setup(){
//WE define our LCD 16 columns and 2 rows
lcd.begin(16, 2);
lcd.backlight();//Power on the back light
//lcd.backlight(); Power off the back light
}
void loop(){
//Write your text:
lcd.setCursor(0, 0); //we start writing from the first row first column
lcd.print(" ELECTRONOOBS"); //16 characters poer line
delay(1000);//Delay used to give a dinamic effect
lcd.setCursor(0, 1);
lcd.print("Thanks, share");
delay(8000);
lcd.clear();//Clean the screen
lcd.setCursor(0, 0);
lcd.print(" How r U?");
lcd.setCursor(0, 1);
lcd.print(" ELECTRONOOBS");
delay(8000);
}
i dont know what this is called but i think this would be significant...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\standard" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\Aedrian\Documents\Arduino\libraries\LiquidCrystal" "C:\Users\Aedrian\Documents\Arduino\libraries\LiquidCrystal\I2CIO.cpp" -o "C:\Users\Aedrian\AppData\Local\Temp\arduino_build_633278\preproc\ctags_target_for_gcc_minus_e.cpp"
C:\Users\Aedrian\Documents\Arduino\libraries\LiquidCrystal\I2CIO.cpp:35:26: fatal error: ../Wire/Wire.h: No such file or directory
#include <../Wire/Wire.h>
^
compilation terminated.
Multiple libraries were found for "LiquidCrystal.h"
Used: C:\Users\Aedrian\Documents\Arduino\libraries\LiquidCrystal
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal
Using library Wire at version 1.0 in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire
Using library LiquidCrystal in folder: C:\Users\Aedrian\Documents\Arduino\libraries\LiquidCrystal (legacy)
exit status 1
Error compiling for board Arduino/Genuino Uno.