loading
4Comments

Tell us about yourself!

Complete Your Profile
  • ExplosionGaming commented on verdelj's instructable I2C LCD Controller (the easy way)4 months ago
    I2C LCD Controller (the easy way)

    i keep getting this message;Arduino: 1.6.9 (Windows 10), Board: "Arduino Mega ADK"LCD2:18: error: 'D7_' was not declared in this scope LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_ ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:19:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:127:1: error: 'fio_bit' does not name a type fio_bit fio_pinToBit(uint8_t pin); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:140:51: error: 'fio_bit' has not been declared void fio_digitalWrite ( fio_register pinRegister, fio_bit pinBit, uint8_t value ); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastI...see more »i keep getting this message;Arduino: 1.6.9 (Windows 10), Board: "Arduino Mega ADK"LCD2:18: error: 'D7_' was not declared in this scope LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_ ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:19:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:127:1: error: 'fio_bit' does not name a type fio_bit fio_pinToBit(uint8_t pin); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:140:51: error: 'fio_bit' has not been declared void fio_digitalWrite ( fio_register pinRegister, fio_bit pinBit, uint8_t value ); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:170:49: error: 'fio_bit' has not been declared int fio_digitalRead ( fio_register pinRegister, fio_bit pinBit ); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:183:47: error: 'fio_bit' has not been declared void fio_shiftOut( fio_register dataRegister, fio_bit dataBit, fio_register clockRegister, ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:184:19: error: 'fio_bit' has not been declared fio_bit clockBit, uint8_t value, uint8_t bitOrder ); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:196:46: error: 'fio_bit' has not been declared void fio_shiftOut(fio_register dataRegister, fio_bit dataBit, fio_register clockRegister, fio_bit clockBit); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:196:91: error: 'fio_bit' has not been declared void fio_shiftOut(fio_register dataRegister, fio_bit dataBit, fio_register clockRegister, fio_bit clockBit); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:206:49: error: 'fio_bit' has not been declared void fio_shiftOut1(fio_register shift1Register, fio_bit shift1Bit, uint8_t value, boolean noLatch = false); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:222:54: error: 'fio_bit' has not been declared void fio_shiftOut1_init(fio_register shift1Register, fio_bit shift1Bit); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:26:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR.h:167:4: error: 'fio_bit' does not name a type fio_bit _srDataBit; ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR.h:169:4: error: 'fio_bit' does not name a type fio_bit _srClockBit; ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR.h:171:4: error: 'fio_bit' does not name a type fio_bit _srEnableBit; ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:27:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR1W.h:368:4: error: 'fio_bit' does not name a type fio_bit _srMask; ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:28:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR2W.h:195:4: error: 'fio_bit' does not name a type fio_bit _srDataMask; ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR2W.h:197:4: error: 'fio_bit' does not name a type fio_bit _srClockMask; ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:29:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR3W.h:188:4: error: 'fio_bit' does not name a type fio_bit _strobe; // shift register strobe pin ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR3W.h:190:4: error: 'fio_bit' does not name a type fio_bit _data; // shift register data pin ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR3W.h:192:4: error: 'fio_bit' does not name a type fio_bit _clk; // shift register clock pin ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'void i2c_wait_scl_high()':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope #define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:210:23: note: in expansion of macro 'SCL_IN' : : [SCLIN] "I" (SCL_IN), [SCLPIN] "I" (SCL_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:210:46: error: 'SCL_PIN' was not declared in this scope : : [SCLIN] "I" (SCL_IN), [SCLPIN] "I" (SCL_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'boolean i2c_init()':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:264:23: note: in expansion of macro 'SCL_DDR' [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:264:47: error: 'SCL_PIN' was not declared in this scope [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:266:23: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:266:47: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'bool i2c_start(uint8_t)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:284:25: note: in expansion of macro 'SDA_DDR' : : [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:284:49: error: 'SDA_PIN' was not declared in this scope : : [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope #define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:285:21: note: in expansion of macro 'SCL_IN' [SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:285:43: error: 'SCL_PIN' was not declared in this scope [SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'bool i2c_rep_start(uint8_t)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:309:25: note: in expansion of macro 'SCL_DDR' : : [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN),[SCLIN] "I" (SCL_IN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:309:49: error: 'SCL_PIN' was not declared in this scope : : [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN),[SCLIN] "I" (SCL_IN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:310:25: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:310:49: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'void i2c_start_wait(uint8_t)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:337:24: note: in expansion of macro 'SDA_DDR' : : [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:337:48: error: 'SDA_PIN' was not declared in this scope : : [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope #define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:338:20: note: in expansion of macro 'SCL_IN' [SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:338:42: error: 'SCL_PIN' was not declared in this scope [SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'void i2c_stop()':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:357:25: note: in expansion of macro 'SCL_DDR' : : [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:357:49: error: 'SCL_PIN' was not declared in this scope : : [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:358:25: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:358:49: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'bool i2c_write(uint8_t)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:433:22: note: in expansion of macro 'SCL_DDR' [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:433:46: error: 'SCL_PIN' was not declared in this scope [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:434:22: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:434:46: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'uint8_t i2c_read(bool)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:502:22: note: in expansion of macro 'SCL_DDR' [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^Multiple libraries were found for "LCD.h"In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0: Used: C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:502:46: error: 'SCL_PIN' was not declared in this scope Not used: C:\Users\George\Documents\Arduino\libraries\NewliquidCrystal [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), Not used: C:\Users\George\Documents\Arduino\libraries\NewliquidCrystal ^ Not used: C:\Users\George\Documents\Arduino\libraries\NewliquidCrystalIn file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, Not used: C:\Users\George\Documents\Arduino\libraries\NewliquidCrystal from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:503:22: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN) ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:503:46: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN) ^C:\Users\George\Documents\Arduino\LCD2\LCD2.ino: In function 'void loop()':LCD2:87: error: redefinition of 'void loop()' void loop() ^LCD2:42: error: 'void loop()' previously defined here void loop() ^exit status 1'D7_' was not declared in this scopeThis report would have more information with"Show verbose output during compilation"option enabled in File -> Preferences.

    do we need both parts of the code?

    I get this;Arduino: 1.6.9 (Windows 10), Board: "Arduino Mega ADK"LCD2:18: error: 'D7_' was not declared in this scope LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_ ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:19:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:127:1: error: 'fio_bit' does not name a type fio_bit fio_pinToBit(uint8_t pin); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:140:51: error: 'fio_bit' has not been declared void fio_digitalWrite ( fio_register pinRegister, fio_bit pinBit, uint8_t value ); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:170:49: error...see more »I get this;Arduino: 1.6.9 (Windows 10), Board: "Arduino Mega ADK"LCD2:18: error: 'D7_' was not declared in this scope LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_ ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:19:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:127:1: error: 'fio_bit' does not name a type fio_bit fio_pinToBit(uint8_t pin); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:140:51: error: 'fio_bit' has not been declared void fio_digitalWrite ( fio_register pinRegister, fio_bit pinBit, uint8_t value ); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:170:49: error: 'fio_bit' has not been declared int fio_digitalRead ( fio_register pinRegister, fio_bit pinBit ); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:183:47: error: 'fio_bit' has not been declared void fio_shiftOut( fio_register dataRegister, fio_bit dataBit, fio_register clockRegister, ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:184:19: error: 'fio_bit' has not been declared fio_bit clockBit, uint8_t value, uint8_t bitOrder ); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:196:46: error: 'fio_bit' has not been declared void fio_shiftOut(fio_register dataRegister, fio_bit dataBit, fio_register clockRegister, fio_bit clockBit); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:196:91: error: 'fio_bit' has not been declared void fio_shiftOut(fio_register dataRegister, fio_bit dataBit, fio_register clockRegister, fio_bit clockBit); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:206:49: error: 'fio_bit' has not been declared void fio_shiftOut1(fio_register shift1Register, fio_bit shift1Bit, uint8_t value, boolean noLatch = false); ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/FastIO.h:222:54: error: 'fio_bit' has not been declared void fio_shiftOut1_init(fio_register shift1Register, fio_bit shift1Bit); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:26:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR.h:167:4: error: 'fio_bit' does not name a type fio_bit _srDataBit; ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR.h:169:4: error: 'fio_bit' does not name a type fio_bit _srClockBit; ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR.h:171:4: error: 'fio_bit' does not name a type fio_bit _srEnableBit; ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:27:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR1W.h:368:4: error: 'fio_bit' does not name a type fio_bit _srMask; ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:28:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR2W.h:195:4: error: 'fio_bit' does not name a type fio_bit _srDataMask; ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR2W.h:197:4: error: 'fio_bit' does not name a type fio_bit _srClockMask; ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:29:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR3W.h:188:4: error: 'fio_bit' does not name a type fio_bit _strobe; // shift register strobe pin ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR3W.h:190:4: error: 'fio_bit' does not name a type fio_bit _data; // shift register data pin ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/LiquidCrystal_SR3W.h:192:4: error: 'fio_bit' does not name a type fio_bit _clk; // shift register clock pin ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'void i2c_wait_scl_high()':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope #define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:210:23: note: in expansion of macro 'SCL_IN' : : [SCLIN] "I" (SCL_IN), [SCLPIN] "I" (SCL_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:210:46: error: 'SCL_PIN' was not declared in this scope : : [SCLIN] "I" (SCL_IN), [SCLPIN] "I" (SCL_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'boolean i2c_init()':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:264:23: note: in expansion of macro 'SCL_DDR' [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:264:47: error: 'SCL_PIN' was not declared in this scope [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:266:23: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:266:47: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'bool i2c_start(uint8_t)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:284:25: note: in expansion of macro 'SDA_DDR' : : [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:284:49: error: 'SDA_PIN' was not declared in this scope : : [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope #define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:285:21: note: in expansion of macro 'SCL_IN' [SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:285:43: error: 'SCL_PIN' was not declared in this scope [SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'bool i2c_rep_start(uint8_t)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:309:25: note: in expansion of macro 'SCL_DDR' : : [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN),[SCLIN] "I" (SCL_IN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:309:49: error: 'SCL_PIN' was not declared in this scope : : [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN),[SCLIN] "I" (SCL_IN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:310:25: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:310:49: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'void i2c_start_wait(uint8_t)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:337:24: note: in expansion of macro 'SDA_DDR' : : [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:337:48: error: 'SDA_PIN' was not declared in this scope : : [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope #define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:338:20: note: in expansion of macro 'SCL_IN' [SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:338:42: error: 'SCL_PIN' was not declared in this scope [SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'void i2c_stop()':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:357:25: note: in expansion of macro 'SCL_DDR' : : [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:357:49: error: 'SCL_PIN' was not declared in this scope : : [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:358:25: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:358:49: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'bool i2c_write(uint8_t)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:433:22: note: in expansion of macro 'SCL_DDR' [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:433:46: error: 'SCL_PIN' was not declared in this scope [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:434:22: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN)); ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:434:46: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN)); ^In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h: In function 'uint8_t i2c_read(bool)':C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope #define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:502:22: note: in expansion of macro 'SCL_DDR' [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), ^Multiple libraries were found for "LCD.h"In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0: Used: C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:502:46: error: 'SCL_PIN' was not declared in this scope Not used: C:\Users\George\Documents\Arduino\libraries\NewliquidCrystal [SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN), Not used: C:\Users\George\Documents\Arduino\libraries\NewliquidCrystal ^ Not used: C:\Users\George\Documents\Arduino\libraries\NewliquidCrystalIn file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0, Not used: C:\Users\George\Documents\Arduino\libraries\NewliquidCrystal from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28, from sketch\LCD2.ino.cpp:1:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope #define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1) ^C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:503:22: note: in expansion of macro 'SDA_DDR' [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN) ^In file included from C:\Users\George\Documents\Arduino\LCD2\LCD2.ino:31:0:C:\Users\George\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3/SoftI2CMaster.h:503:46: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN) ^C:\Users\George\Documents\Arduino\LCD2\LCD2.ino: In function 'void loop()':LCD2:87: error: redefinition of 'void loop()' void loop() ^LCD2:42: error: 'void loop()' previously defined here void loop() ^exit status 1'D7_' was not declared in this scopeThis report would have more information with"Show verbose output during compilation"option enabled in File -> Preferences.sorry for the long messafe

    For some reason it uploads but nothing happens and it says;Multiple libraries were found for "LCD.h" Used: C:\Users\-\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-bb6d545c00c3 Not used: C:\Users\-\Documents\Arduino\libraries\NewliquidCrystal Not used: C:\Users\-\Documents\Arduino\libraries\NewliquidCrystal Not used: C:\Users\-\Documents\Arduino\libraries\NewliquidCrystal Not used: C:\Users\-\Documents\Arduino\libraries\NewliquidCrystal

    View Instructable »