Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Interfacing without I2C 1. browse for "Liquid Crystal" folder in C:\Program Files (x86)\energia-1.8.7E21\hardware\energia\msp430\libraries or on the path where you downloaded the energia. 2. copy the folder and paste it to C:\Program Files (x86)\energia-1.8.7E21\libraries. note that this library is made for MSP430. You need to follow the pin convention of cc3200 launchpad. 3. open energia and change the rename the pin number as one given in the launchpad schematic. Make sure you dont use the pins that are connected to push buttons. try using the pins that are less multifunctional. use 5V as Vcc for Vdd and POT for best results. for example, replace LiquidCrystal lcd(P2_0, P2_1, P2_2, P2_3, P2_4, P2_5); with LiquidCrystal lcd(8, 9, 12, 13, 14, 15); 4. There you go!. upload the code. interfacing with I2c best advantage of the I2C is only two pins are used for operation! Connect the LCD module to the I2C module. 1.download the library from https://www.arduinolibraries.info/libraries/liquid-crystal-i2-c . or if you have arduino, you can download the library from "Manage Library" looking for "LiquidCrystal I2C". 2. copy the library to the C:\Program Files (x86)\energia-1.8.7E21\libraries. make the necessary I2C connections 3. change the address from 0x20 to 0x27 and put 0x27,16,2., include the lcd library and upload the code. 4. comment out "WProgram.h" from the .cpp file if shows an error. 5. there you go!