Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- compiling the sketch shows the error: within this context
- C:\Users\OFFICE\Desktop\sketch_feb23c\sketch_feb23c\sketch_feb23c.ino:8:32: warning: invalid conversion from 'int' to 't_backlighPol' [-fpermissive]
- LiquidCrystal_I2C lcd(0x3F,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
- ^
- In file included from C:\Users\OFFICE\Desktop\sketch_feb23c\sketch_feb23c\sketch_feb23c.ino:6:0:
- C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LiquidCrystal_I2C.h:53:4: note: initializing argument 3 of 'LiquidCrystal_I2C::LiquidCrystal_I2C(uint8_t, uint8_t, t_backlighPol)'
- LiquidCrystal_I2C (uint8_t lcd_Addr, uint8_t backlighPin, t_backlighPol pol);
- ^
- C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LiquidCrystal_I2C.h: In function 'void setup()':
- C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LiquidCrystal_I2C.h:154:9: error: 'int LiquidCrystal_I2C::init()' is private
- int init();
- ^
- sketch_feb23c:12: error: within this context
- lcd.init(); // initialize the lcd
- ^
- In file included from C:\Users\OFFICE\Desktop\sketch_feb23c\sketch_feb23c\sketch_feb23c.ino:6:0:
- C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LiquidCrystal_I2C.h:154:9: error: 'int LiquidCrystal_I2C::init()' is private
- int init();
- ^
- sketch_feb23c:13: error: within this context
- lcd.init();
- ^
- exit status 1
- within this context
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement