StrangerM 25 Posted February 18, 2014 Share Posted February 18, 2014 I use liquidcrystal_i2c library from Arduino with Energia (10) and LCD 20X4 (from China :-)) for Tiva-C launchPad. The address of my LCD driver is 0X27. I have used in example ( Energia_HelloWorld_20_4_I2C) 2 I2C module (PD0- SCL, PD1-SDA) (default module - 3). PS Attention!!!!!!!!!!! I changed the lib & the example. LiquidCrystal_I2C.zip COSMIC13 1 Quote Link to post Share on other sites
StrangerM 25 Posted February 18, 2014 Author Share Posted February 18, 2014 https://github.com/astuder/BMP085-template-library-Energia runs properly with Energia and Tiva-C. ReadSensorBMP085_NEW.zip Quote Link to post Share on other sites
StrangerM 25 Posted February 18, 2014 Author Share Posted February 18, 2014 http://playground.arduino.cc/Main/DS1302 runs properly with Energia and Tiva-C. replace // Set your own pins with these defines !#define DS1302_SCLK_PIN PA_4// pin for the Serial Clock#define DS1302_IO_PIN PA_3// pin for the Data I/O#define DS1302_CE_PIN PA_2// pin for the Chip Enable PA4, PA3,Pa2 are used. Quote Link to post Share on other sites
StrangerM 25 Posted February 18, 2014 Author Share Posted February 18, 2014 In addition CMPS10, SRF10, Ublox NEO6MV2 GPS Module... etc without lib. Quote Link to post Share on other sites
Stendall 0 Posted February 25, 2014 Share Posted February 25, 2014 I use liquidcrystal_i2c library from Arduino with Energia (10) and LCD 20X4 (from China :-)) for Tiva-C launchPad. The address of my LCD driver is 0X27. I have used in example ( Energia_HelloWorld_20_4_I2C) 2 I2C module (PA6- SCL, PA7-SDA) (default module - 3). Hi StrangerM ¿can you give me a hand ? I wil really apreciate it. With a fresh installed energia any example give me compile error: [/home/stendall/Work/energia/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -g, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=80000000L, -MMD, -DARDUINO=101, -DENERGIA=11, -I/home/stendall/Work/energia/hardware/lm4f/cores/lm4f, -I/home/stendall/Work/energia/hardware/lm4f/variants/stellarpad, -I/home/stendall/Work/energia/hardware/lm4f/libraries/Wire, -I/home/stendall/Work/EnergiaSketchBook/libraries/LiquidCrystal_I2C, /tmp/build2442658220456837221.tmp/Energia_HelloWorld_20_4_I2C.cpp, -o, /tmp/build2442658220456837221.tmp/Energia_HelloWorld_20_4_I2C.cpp.o] In file included from Energia_HelloWorld_20_4_I2C.ino:5:0: /home/stendall/Work/EnergiaSketchBook/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.h:81:16: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)' In file included from /home/stendall/Work/energia/hardware/lm4f/cores/lm4f/Stream.h:26:0, from /home/stendall/Work/energia/hardware/lm4f/libraries/Wire/Wire.h:6, from Energia_HelloWorld_20_4_I2C.ino:4: /home/stendall/Work/energia/hardware/lm4f/cores/lm4f/Print.h:56:20: error: overriding 'virtual size_t Print::write(uint8_t)' Best regards. Quote Link to post Share on other sites
StrangerM 25 Posted February 26, 2014 Author Share Posted February 26, 2014 Hi Stendall. There is no question. 1. Energia 11 likes to run in C:\ energia-0101E0011. 2. I am sending the example, 2 lib and the result of the example compilation. But I am sure that you should change the location of Energia. Best regards. PS I am sorry!!!!!!!! Must be for wire module 3 (default) . I have changed lib & example. I am sorry. And I use Energia 10 ( more stable). It is working in any directory. ... LiquidCrystal_I2C lcd(0x27,PD_1,PD_0); // set the LCD address to 0x20 for a 16 chars and 2 line displayvoid setup(){Wire.setModule(3);...... Wire.zip LiquidCrystal_I2C.zip Energia_HelloWorld_20_4_I2C.zip Quote Link to post Share on other sites
Stendall 0 Posted February 26, 2014 Share Posted February 26, 2014 Thank you very much Stranger. I've tried in Windows just unziping Energia in c:\ and puting your LiquidCrystal_i2C library in the apropiated library folder on the Sketchfolder. And It worked!!!!. Now that I at least know that works, I can fight with it in Linux too. Maybe the problem it's with the 64Bits Linux version of Energia. I didn't needed the Wire.zip. The examples that come bundled with your library have worked fine. I owe you one, man. Huge Thanks. Quote Link to post Share on other sites
StrangerM 25 Posted February 26, 2014 Author Share Posted February 26, 2014 Not at all. :-) 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.