Error while compiling:
Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Uno"
Build options changed, rebuilding all
/Users/sanjanaraman/Downloads/Sensor Kit V2.0 for Arduino/Lesson 1 Display by I2C LCD1602/code/I2C_LCD1602/I2C_LCD1602.ino: In function 'void setup()':
I2C_LCD1602:15: error: 'lcd' was not declared in this scope
lcd.init(); //initialize the lcd
^
/Users/sanjanaraman/Downloads/Sensor Kit V2.0 for Arduino/Lesson 1 Display by I2C LCD1602/code/I2C_LCD1602/I2C_LCD1602.ino: In function 'void loop()':
I2C_LCD1602:21: error: 'lcd' was not declared in this scope
lcd.setCursor(15,0); // set the cursor to column 15, line 0
^
exit status 1
'lcd' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.