Hello,
I'm trying to run a sparkfun LCD through the I2C port on my MKR board. The example I'm trying to follow tells me to use the LiquidCrystal I2C library. When I go to compile, it tells me that the library is not compatible with the MKR family. I'm new to Arduino and I'm learning from the Arduino Workshop book. There is a project I'm working on that needed a faster clock speed than the UNO so I got the MRK. Can you please help me get this part of my project working.
Thank You
//include liquidCrystal_I2C.h
//Tools -> Manage Libraries and type liquidCrystal_I2C
#include <LiquidCrystal_I2C.h>
//define I2C address......
LiquidCrystal_I2C lcd(0x27,16,2);
void setup() {
lcd.init();
lcd.clear();
lcd.backlight();
lcd.setCursor(2,0);
lcd.print("Hello World");
lcd.setCursor(2,1);
lcd.print("JehanKandy");
}
void loop() {
5 posts - 2 participants