MarcosA 1 Posted August 23, 2018 Share Posted August 23, 2018 Hello, everyone! Has anyone used the I2C display module with the TM4C123 Launchpad? I'm trying to use this code as a test, but I was not successful. The version of the library I am using is 1.2.1 I accept other suggestions for using the i2c display. Thanks in advance! The code: #include <Wire.h> #include <LiquidCrystal_I2C.h> // Start the I2C address at 0x27 position LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7,3, POSITIVE); void setup() { lcd.begin (16,2); } void loop() { lcd.setCursor(0,0); lcd.print("test line 1"); lcd.setCursor(1,1); lcd.print("test line 2"); } The error: In file included from C:\Users\Marcos\Documents\Energia\libraries\LiquidCrystal\FastIO.cpp:32:0: C:\Users\Marcos\Documents\Energia\libraries\LiquidCrystal\FastIO.h:38:52: fatal error: pins_arduino.h: No such file or directory #include <pins_arduino.h> // pleasing sanguino core ^ compilation terminated. exit status 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.