Jump to content

Search the Community

Showing results for tags 'LCD'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 59 results

  1. A few years ago a lot of people on the forum were playing with the 96x68 Nokia 1202 LCDs. Did any of you try to run them at less than 3.3v? I would like to try powering one with a CR2032, so I would plan on giving it about 2.8v. The datasheet for the ste2007 says it works down to 2.4v but I would be curious to know if this screen can do that. Also, if anyone has measured the current consumption, that would be good to know too. I read somewhere that it is around 0.2mA.
  2. I made a heart rate sensor, and prototyped it with the launchpad. The mcu reads BPM and displays it on an LCD. I now want to create a pcb without the launchpad. I've attached what I have so far. I'm powering everything from a 9V battery, so I have a 3.3V regulator which I will use to power the MSP430G2553. Can I just connect the the output of the regulator to the VCC pin, and connect all the other pins to the circuit as I did with the launchpad, or are there other considerations I need to account for? Also, how do I debug and edit the program while the microcontroller is on my custom pcb?
  3. 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
  4. I am using this code to communicate to the Nokia 5110 LCD display: https://gist.github.com/DmitryMyadzelets/83b6e1384a1ee35a7f5f Looking at the waveforms on an oscilloscope, I saw that there are only 2 to 3 clock cycles per write. For instance, the attached screenshot is when I write 0x44. The top waveform is the clock, the middle is chip select, and the bottom is MOSI. That doesn't seem correct at all. Shouldn't there be 8 clock cycles for transmitting 8 bits?
  5. gunit

    LCD for CC3200

    Dear All, I want to interface an LCD to CC3200. Please suggest the name of lcd which can be used with cc3200 and energia. Regards, gunit
  6. As an electrical engineering student at John Brown University, we were tasked with creating a useful product or service using the combined skills gained through our embedded systems class. As someone who likes interior decorating and hates mismatched paint, I came up with the idea to make an RGB color sensor attachment for a camera. Of course converting RGB data to paint colors is not conventional, it is something that could potentially be viable. To make things interesting and for the experience of working with a Raspberry Pi, I used a raspberry Pi camera to act as the base for the project. A KMASHI 10,000mAh power bank was used as the power source to make it portable and act as a psuedo case to strap all of the components together. It is definitely not elegant in any way, shape, or form, but it is more experience for me and hopefully you can find an interesting tid bit here or there in my documentation! Enjoy! RGBColorSensorAttatchmentRPI.docx
  7. agaelema

    MSP-EXP432P111

    Hi guys, The new Launchpad MSP-EXP432P111 was released some days ago. I bought one and it arrived today . The board use the XMS432P1111 (pre-production version of MSP432) microcontroller, a Cortex M4 with 48MHz, 2MB of flash, 256KB of SRAM (very impressive), 14bit ADC and many other peripherals, like the LCD driver. Apparently, the LCD is the same of other launchpads (eg.: EXP430FR6989), very interesting to understand how to use the LCD driver and develop some projects. The Out-of-Box demo has two modes: - Blink LED, where you can controll the frequency of blink pressing the button S1 and controll the color by pressing the button S2. - Temperature mode: Show the temperature based in the internal sensor (pressing S2), or based in an external temperature sensor (pressing S1), a LMT70, but it's necessary to put a jumper in R8, powering the sensor. There is a online GUI enabling to control other parameters like special characters in the LCD. The finishing of PCB's is impeccable, as always.
  8. Aheny

    LCD_Joystick not working

    Good afternoon, I am using: MSP432 EMT 48MHz with the Educational Booster pack Mk II Revision 1.0 Energia 1.6.10E18 I was having difficulty (my code wouldnt compile) with the LCD screen, so I attempted a simple install of the example code LCD_Joystick, but my error persists. It uses the following includes: #include <LCD_screen.h> #include <LCD_screen_font.h> #include <LCD_utilities.h> #include <Screen_HX8353E.h> #include <Terminal12e.h> #include <Terminal6e.h> #include <Terminal8e.h> just including these headers seems to create the same issue and I am not understanding how to proceed. I dont see any errors besides the consequential collect2.exe error at the end. It almost appears to be an issue with circular includes, but I am just using the example files exactly as written. Any help would be greatly appreciated. Energia: 1.6.10E18 (Windows 10), Board: "RED LaunchPad w/ msp432 EMT (48MHz)" libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::setOrientation(unsigned char)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::screenSizeX()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::screenSizeY()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::circle(unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::dLine(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::line(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::setPenSolid(bool)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::point(unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::dRectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::setFontSolid(bool)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::readPixel(unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::copyPaste(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::arc(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::copyArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::pasteArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&, bool)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::showInformation(unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::rectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::LCD_screen()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::LCD_screen()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::clear(unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::getOrientation()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_triangleArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::triangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_inValue(short, short, short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_inCycle(short, short, short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_inSector(short, short, short, short, short, short, short, short, short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::calculateColour(unsigned char, unsigned char, unsigned char)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::splitColour(unsigned short, unsigned char&, unsigned char&, unsigned char&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::halveColour(unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::averageColour(unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::reverseColour(unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::isTouch()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::isReadable()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::isStorage()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_displayTarget(unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::calibrateTouch()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_swap(unsigned short&, unsigned short&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_swap(short&, short&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_swap(unsigned char&, unsigned char&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_check(unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::getTouch(unsigned short&, unsigned short&, unsigned short&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `vtable for LCD_screen' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::setFontSize(unsigned char)' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::fontMax()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::fontSizeX()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::fontSizeY()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::gText(unsigned short, unsigned short, String, unsigned short, unsigned short, unsigned char, unsigned char)' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::LCD_screen_font()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::LCD_screen_font()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::_getCharacter(unsigned char, unsigned char)' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `vtable for LCD_screen_font' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `cos32x100(long)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `sin32x100(long)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `utf2iso(String)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `i32toa(long, long, unsigned char, unsigned char)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `htoa(unsigned long, unsigned char)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `ttoa(unsigned long, unsigned char)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `btoa(unsigned short, unsigned char)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `bufferFormat' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `bufferOut' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `bufferIn' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board RED LaunchPad w/ msp432 EMT (48MHz). This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
  9. Say hello to the new member of my Color LCD Booster Pack family, 2.2" LCD with 320x240 pixel resolution. Current version is v3. Board options include backlight transistor and microSD (TransFlash) socket (v2 of the board also has optional memory 23K SRAM, 25AA EEPROM, or similar.) New in v3: - no MOSI/MISO config - no optional memory - 4 configuration jumpers CS_Display, CS_SD, D/C, and BKG (choose legacy pinout or compliant with new LPs.) Pos/Pin CS_Dis CS_SD D/C BKG New(1) P2.5 P2.4 P1.3 P2.0 Legacy(2) P1.0 P2.5 P1.4 P2.2 Available on Tindie and The 43oh Store Driver is in this post. UPDATE: Tiva driver is now available, see link above! v2 v3
  10. Aheny

    please delete

    duplicate thread
  11. Hi , I am using MSP430FR4133LP , in energia the GPIO pins are predefined in the pins_energia.h for MSP430FR4133 LP based on the silkscreen on the board. I using this MSP430FR4133 chip for another project and in that i am not using a LCD so i thought that i can also use LCD pins as GPIO. For this purpose i need to add the pins in the pins_energia.h but i am not able to crack it. Can anyone help me with this ....? if i try to use any other pins other than the defined ones (say P2_2) ... it throws an error as " P2_2 not defined in the scope" // Pin names based on the silkscreen // static const uint8_t P1_0 = 4; static const uint8_t P1_1 = 3; static const uint8_t P1_2 = 24; static const uint8_t P1_3 = 13; static const uint8_t P1_4 = 12; static const uint8_t P1_5 = 11; static const uint8_t P1_6 = 18; static const uint8_t P1_7 = 19; //static const uint8_t P2_0 = ; //static const uint8_t P2_1 = ; //static const uint8_t P2_2 = ; <------ What should i do in order to add this pin static const uint8_t P2_3 = 22; static const uint8_t P2_4 = 21; static const uint8_t P2_5 = 8; static const uint8_t P2_6 = 25; static const uint8_t P2_7 = 5; //static const uint8_t P3_0 = ; //static const uint8_t P3_1 = ; //static const uint8_t P3_2 = ; //static const uint8_t P3_3 = ; //static const uint8_t P3_4 = ; //static const uint8_t P3_5 = ; //static const uint8_t P3_6 = ; //static const uint8_t P3_7 = ; static const uint8_t P4_0 = 23; //static const uint8_t P4_1 = ; //static const uint8_t P4_2 = ; //static const uint8_t P4_3 = ; //static const uint8_t P4_4 = ; //static const uint8_t P4_5 = ; //static const uint8_t P4_6 = ; //static const uint8_t P4_7 = ; static const uint8_t P5_0 = 17; static const uint8_t P5_1 = 7; static const uint8_t P5_2 = 15; static const uint8_t P5_3 = 14; //static const uint8_t P5_4 = ; //static const uint8_t P5_5 = ; //static const uint8_t P5_6 = ; //static const uint8_t P5_7 = ; static const uint8_t P8_0 = 6; static const uint8_t P8_1 = 2; static const uint8_t P8_2 = 9; static const uint8_t P8_3 = 10; //static const uint8_t P8_4 = ; //static const uint8_t P8_5 = ; //static const uint8_t P8_6 = ; //static const uint8_t P8_7 = ; //static const uint8_t PJ_0 = ; //static const uint8_t PJ_1 = ; //static const uint8_t PJ_2 = ; //static const uint8_t PJ_3 = ; //static const uint8_t PJ_4 = ; //static const uint8_t PJ_5 = ; //static const uint8_t PJ_6 = ; //static const uint8_t PJ_7 = ; These are the pin definitions that are already in the pins_energia.h based on the silkscreen. If i want to use a pin (say P2.2) what must i do in order to define that pin in the pins_energia.h file ?? thank you in advance.....
  12. Hi guys, To train the use of some macros I decided to update/improve a 16x2 lcd library (HD44780) that I adapt many years ago. Possible there are other libraries shared here, but I liked how I managed the configuration of ports and pins using some macros. The use of macros made the library more versatile and easy to adap to new projets without the need to change tons of code lines. The same simples example of use is runnig on MSP430G2553 (old value line launchpad) and MSP430FR2433 (the new value line launchpad). I hope it's useful. https://github.com/agaelema/LCD16x2_MSP43x
  13. Hi, this is my first post on the forum, hope I have put my query in the right forum. OS: Windows 10 IDE: Energia We actually just got started off using the MSP432 and the MKii kit, nearly all the examples work as expected, except the ones with LCD. We do not get any compilations errors, and the program loads fine and also we see the data over serial port after uploading the code. We see several suggestions about removing R9/R10 shunts, but suppose that doesn't pertain to MSP432(?) What are we missing here? In fact when we run the Code composer studio example for LCD, it does work fine, so it shouldn't be an issue with LCD as such. Thank you in advance, if you need any more details, please do ask. We assume its something very silly we are missing, but still need your assistance to fix it.
  14. Hi all, I am currently just trying to upload a example sketch to my MSP430G2553, all i'm getting is a compile error. The github library is; https://github.com/ibm666/ILI9341libraryforEnergiaMSP430Launchpad what im getting error wise is; In file included from D:\energia-1.6.10E18\libraries\ili9341-arduino-master\examples\drawNumber\drawNumber.ino:8:0: D:\energia-1.6.10E18\libraries\ili9341-arduino-master/TFTv2.h:33:17: fatal error: SPI.h: No such file or directory compilation terminated. Using library ili9341-arduino-master in folder: D:\energia-1.6.10E18\libraries\ili9341-arduino-master (legacy) exit status 1 Error compiling for board MSP-EXP430G2 w/ MSP430G2553. Can anyone tell me what i'm doing wrong? I can upload examples from the SPI library so im assuming it cant be that?! HELP!!! PLEASE!!!
  15. ferruica

    problem lcd 16x2

    Hi everone. I have a problem. I used a CogLCD Library- Autoscroll avaliable in the ide energia and want to use a lcd in mode byte. somebody have a idea how can i do it? I´m working with a tiva tm4c1294 thanks
  16. This is my new universal graphics library (original one is here.) Supported boards (this is out of the "box" support, but the library will work with any board after small changes.) TI's MSP430FR5969 LaunchPad (ugl16msp only for now) TI's MSP430F5529 LaunchPad TI's MSP430G2 LaunchPad with G2553 chip RobG's MSP430G2955 Dev Board RobG's MSP430F5172 Dev Board RobG's MSP430F5510 Dev Board Supported displays 1.8" ST7735 based JD-T1800 - ugl8 2.2" HX8340 based displays - ugl8 2.2" ILI9225 based displays (touch panel) - ugl8 2.2" ILI9341 based displays 320x240 pixels - ugl16 Tiva versions are right here ugl8msp.zip (name change 4/18/14) ugl16msp.zip (updated 4/19/14)
  17. Hello everyone, My friends and I are very interested to use Energia in one of our university project. We are using the following hardware: MSP432P401R Educational BoosterPack MKII We tried first to use the Built-in examples that come with Energia, and all the examples worked perfectly except the examples that interact with the LCD ( Ex: LCD_Joystick and LCD_LifeGame). Therefore, please, could anyone tell me how I can fix this? I really appreciate your help and time. Thanks. The error message that we got. Energia: 1.6.10E18 (Mac OS X), Board: "LaunchPad w/ msp432 EMT (48MHz)" /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/Screen_K35_SPI.cpp:326:5: warning: #warning ANALOG_RESOLUTION == 1023 [-Wcpp] # warning ANALOG_RESOLUTION == 1023 ^ libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::pasteArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&, bool)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::setOrientation(unsigned char)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_swap(unsigned char&, unsigned char&)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:75: multiple definition of `LCD_screen::screenSizeX()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:75: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_displayTarget(unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:88: multiple definition of `LCD_screen::screenSizeY()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:88: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::rectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:100: multiple definition of `LCD_screen::circle(unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:100: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::calibrateTouch()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:149: multiple definition of `LCD_screen::dLine(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:149: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::line(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:153: multiple definition of `LCD_screen::line(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:153: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::setPenSolid(bool)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:191: multiple definition of `LCD_screen::setPenSolid(bool)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:191: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::point(unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:194: multiple definition of `LCD_screen::point(unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:194: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::dRectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:209: multiple definition of `LCD_screen::dRectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:209: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::arc(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:321: multiple definition of `LCD_screen::arc(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:321: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::setFontSolid(bool)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:324: multiple definition of `LCD_screen::setFontSolid(bool)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:324: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::readPixel(unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:370: multiple definition of `LCD_screen::readPixel(unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:370: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::copyPaste(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:372: multiple definition of `LCD_screen::copyPaste(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:372: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::copyArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:375: multiple definition of `LCD_screen::copyArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:375: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::pasteArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&, bool)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:378: multiple definition of `LCD_screen::pasteArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&, bool)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:378: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::showInformation(unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:32: multiple definition of `LCD_screen::showInformation(unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:32: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::rectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:198: multiple definition of `LCD_screen::rectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:198: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::LCD_screen()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:22: multiple definition of `LCD_screen::LCD_screen()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:22: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::LCD_screen()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:22: multiple definition of `LCD_screen::LCD_screen()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:22: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::clear(unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:56: multiple definition of `LCD_screen::clear(unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:56: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::getOrientation()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:72: multiple definition of `LCD_screen::getOrientation()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:72: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_triangleArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:213: multiple definition of `LCD_screen::_triangleArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:213: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::triangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:267: multiple definition of `LCD_screen::triangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:267: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_inValue(short, short, short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:301: multiple definition of `LCD_screen::_inValue(short, short, short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:301: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_inCycle(short, short, short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:306: multiple definition of `LCD_screen::_inCycle(short, short, short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:306: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_inSector(short, short, short, short, short, short, short, short, short)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:312: multiple definition of `LCD_screen::_inSector(short, short, short, short, short, short, short, short, short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:312: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::calculateColour(unsigned char, unsigned char, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:328: multiple definition of `LCD_screen::calculateColour(unsigned char, unsigned char, unsigned char)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:328: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::splitColour(unsigned short, unsigned char&, unsigned char&, unsigned char&)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:332: multiple definition of `LCD_screen::splitColour(unsigned short, unsigned char&, unsigned char&, unsigned char&)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:332: first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::halveColour(unsigned short)': LCD_screen.cpp:(.text._ZN10LCD_screen11halveColourEt+0x0): multiple definition of `LCD_screen::halveColour(unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen11halveColourEt+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::averageColour(unsigned short, unsigned short)': LCD_screen.cpp:(.text._ZN10LCD_screen13averageColourEtt+0x0): multiple definition of `LCD_screen::averageColour(unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen13averageColourEtt+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::reverseColour(unsigned short)': LCD_screen.cpp:(.text._ZN10LCD_screen13reverseColourEt+0x0): multiple definition of `LCD_screen::reverseColour(unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen13reverseColourEt+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::isTouch()': LCD_screen.cpp:(.text._ZN10LCD_screen7isTouchEv+0x0): multiple definition of `LCD_screen::isTouch()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen7isTouchEv+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::isReadable()': LCD_screen.cpp:(.text._ZN10LCD_screen10isReadableEv+0x0): multiple definition of `LCD_screen::isReadable()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen10isReadableEv+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::isStorage()': LCD_screen.cpp:(.text._ZN10LCD_screen9isStorageEv+0x0): multiple definition of `LCD_screen::isStorage()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen9isStorageEv+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_displayTarget(unsigned short, unsigned short, unsigned short)': LCD_screen.cpp:(.text._ZN10LCD_screen14_displayTargetEttt+0x0): multiple definition of `LCD_screen::_displayTarget(unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen14_displayTargetEttt+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::calibrateTouch()': LCD_screen.cpp:(.text._ZN10LCD_screen14calibrateTouchEv+0x0): multiple definition of `LCD_screen::calibrateTouch()' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen14calibrateTouchEv+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_swap(unsigned short&, unsigned short&)': LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERtS0_+0x0): multiple definition of `LCD_screen::_swap(unsigned short&, unsigned short&)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERtS0_+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_swap(short&, short&)': LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERsS0_+0x0): multiple definition of `LCD_screen::_swap(short&, short&)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERsS0_+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_swap(unsigned char&, unsigned char&)': LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERhS0_+0x0): multiple definition of `LCD_screen::_swap(unsigned char&, unsigned char&)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERhS0_+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_check(unsigned short, unsigned short, unsigned short)': LCD_screen.cpp:(.text._ZN10LCD_screen6_checkEttt+0x0): multiple definition of `LCD_screen::_check(unsigned short, unsigned short, unsigned short)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen6_checkEttt+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::getTouch(unsigned short&, unsigned short&, unsigned short&)': LCD_screen.cpp:(.text._ZN10LCD_screen8getTouchERtS0_S0_+0x0): multiple definition of `LCD_screen::getTouch(unsigned short&, unsigned short&, unsigned short&)' libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen8getTouchERtS0_S0_+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen.cpp.o:(.rodata._ZTV10LCD_screen+0x0): multiple definition of `vtable for LCD_screen' libraries/Kentec_35_SPI/LCD_screen.cpp.o:(.rodata._ZTV10LCD_screen+0x0): first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::fontMax()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::setFontSize(unsigned char)' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::fontSizeY()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:33: multiple definition of `LCD_screen_font::fontMax()' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:33: first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::LCD_screen_font()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:37: multiple definition of `LCD_screen_font::fontSizeX()' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:37: first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::gText(unsigned short, unsigned short, String, unsigned short, unsigned short, unsigned char, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:53: multiple definition of `LCD_screen_font::fontSizeY()' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:53: first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::gText(unsigned short, unsigned short, String, unsigned short, unsigned short, unsigned char, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:101: multiple definition of `LCD_screen_font::gText(unsigned short, unsigned short, String, unsigned short, unsigned short, unsigned char, unsigned char)' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:101: first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::LCD_screen_font()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:21: multiple definition of `LCD_screen_font::LCD_screen_font()' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:21: first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::LCD_screen_font()': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:21: multiple definition of `LCD_screen_font::LCD_screen_font()' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:21: first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::_getCharacter(unsigned char, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:69: multiple definition of `LCD_screen_font::_getCharacter(unsigned char, unsigned char)' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:69: first defined here libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o:(.rodata._ZTV15LCD_screen_font+0x0): multiple definition of `vtable for LCD_screen_font' libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:(.rodata._ZTV15LCD_screen_font+0x0): first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `sin32x100(long)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:33: multiple definition of `cos32x100(long)' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:33: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `ttoa(unsigned long, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:56: multiple definition of `sin32x100(long)' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:56: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `utf2iso(String)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:60: multiple definition of `utf2iso(String)' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:60: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `i32toa(long, long, unsigned char, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:89: multiple definition of `i32toa(long, long, unsigned char, unsigned char)' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:89: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `htoa(unsigned long, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:117: multiple definition of `htoa(unsigned long, unsigned char)' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:117: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `ttoa(unsigned long, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:128: multiple definition of `ttoa(unsigned long, unsigned char)' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:128: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `btoa(unsigned short, unsigned char)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:158: multiple definition of `btoa(unsigned short, unsigned char)' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:158: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `sin32x100(long)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:33: multiple definition of `bufferFormat' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:33: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `sin32x100(long)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:33: multiple definition of `bufferOut' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:33: first defined here libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `sin32x100(long)': /Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:33: multiple definition of `bufferIn' libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:33: first defined here collect2: error: ld returned 1 exit status exit status 1 Error compiling for board LaunchPad w/ msp432 EMT (48MHz). This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
  18. Hi, I'm trying send GPS (adafruit Ultimate GPS FeatherWing) coordinates to another location using XBees and then displaying GPS data on an LCD (Sharp 96 Booster Pack) using Energia. This involves 2 pairs of Xbees (4 total 2 different ranges), 3 MSP-EXP432P401R (Black Version), the GPS and the LCD. I wrote some code for the first MSP432 on getting GPS data and getting it to the XBee to transmit to another MSP432 (connected to 2 XBees). Although I haven't been able to test it (GPS and XBees aren't here yet) I feel like it will at least be close if not functional.GPStoXBEE.ino After writing the data to the XBee which should then transmit to it's paired XBee that the 2nd MSP432 is connected to. I then want to write the incoming data to the larger ranged XBee also connected to the 2nd MSP432 shown in the following code. XBEEtoXBEE.ino I think my method is kind of right but I won't get the correct output. I believe it will only be taking one char at a time every time the readXBee function is called. So how would I make it print the entirety of the GPS data if I don't know how long/what the data will be ahead of time? I just want to transmit exactly what I'm getting from the GPS itself. Lastly I have another longer ranged XBee connected to the 3rd MSP432 along with an LCD. I want to take the GPS data that is being received from the 2nd MSP432 and print it to the display. I edited the LCD example to get the following XBEEtoLCD.ino and it kind of works, I am able to print from the serial to the display but its only one character at a time every second and the char gets overwritten by the next char. How will can I change the code so that it will print what ever is in the serial in one go? Thanks in Advance
  19. Hello fellows, I made a code to interact the MSP430, with the LCD, but now I would like to have it interact with the MSP432. And I'm having some problems because I want to use specific pins, can anyone help me change the code? My difficulty is: the MSP430 I use PORT P1 and P2, the problem is in the MSP432 I need PORT P2, P5 and P6 This is my connections LCD->MSP432: EN -> (P2 + BIT3) RS -> (P6 + BIT7) D4 -> (P2 + BIT6) D5 -> (P2 + BIT4) D6 -> (P5 + BIT6) D7 ->(P6 + BIT6) lcd.c lcd.h main.c main.h
  20. Is there a way to use the SoftwareSerial library on the Stellaris Launchpad TM4C123GXL board? I am trying to connect a Sparkfun serial enabled LCD screen to the board but the SoftwareSerial library is only compatible with 20, 16, and 8 MHz processors, and the TM4C123GXL is an 80 MHz chip. How can I use this LCD screen with the Stellaris Launchpad over a UART connection? Do I need to use SoftwareSerial or can I do without it? I am programming in Energia 0101E0017 on Windows 7 64 bit. Any help is greatly appreciated, thanks!
  21. nathanpc

    Nokia 5110 (Bit Bang) LCD Driver

    For my next project I have to use a Nokia 5110 LCD with a MSP430G2553. After searching for a while on the internet I came across RobG's SPI-based driver. It's a great driver, but the problem is that I'll be using a I2C chip in this project too, so I decided to create a bit-bang driver. The code is extremely well documented and you should easily be able to use it for anything you want. Here's the GitHub repo: msp430-nokia-5110.
  22. Hey all, I recently got a Nokia 5110 LCD working using the LCD_5110 lib from GitHub. Works great, so thanks to giants whose shoulders I stand atop! I moved my chip (G2553) directly to the board as I have done several times before (with a pullup resistor on RST), and I loaded a little demo program on it with my "loader" board (just TEST, RST, GND, and VCC hooked up to the emulation side of an LP). Program loads and runs fine, but when I remove the loader and cycled power (I was just changing battery sources from a 6V pack to a 9V battery -- they are dropped to 3.3V), the LCD does not init properly. Sometimes resetting (disconnecting the RST pullup) would make it come back, sometimes not. The weird thing is that the sketch IS running, because the ISR to toggle the backlight DOES work -- but no text displays on the screen. When it gets this way, I hook up the loader again, flash the same program, and then everything works fine. If I unhook the loader and cycle the power, though, I am back to no text on screen. Am I initializing the screen incorrectly or doing something wrong in terms of power cycling and/or resetting? [incidentally, you'll see in the constructor for LCD_5110 that I use zero for the getButton() pin -- I don't need a button-getter, and would rather use my own button handling code instead of calling the LCD's getButton() method. What is the best way to call the constructor in that case? The zero works (compiles, anyway), and it looks like getButton() just hangs the program if I ever call it (so I won't). But surely I am missing something to use such an inelegant methodology...] Any help would be appreciated! Thanks, sutekh137 Sketch: //System/library includes. #include <LCD_5110.h> // Defines... #define TOGGLE_BACKLIGHT PUSH2 // Instantiate the Nokia 5110 LCD class (non-SPI): // LCD_5110 lcd(Chip Select, Serial Clock, Serial Data, Data/Command, Reset, Backlight, getButton() Trigger) LCD_5110 lcd(12, 13, 14, 15, 18, 19, 0); boolean glBacklight = false; void setup() { // Button will toggle back light using an ISR. pinMode(TOGGLE_BACKLIGHT, INPUT_PULLUP); attachInterrupt(TOGGLE_BACKLIGHT, ISR_ToggleBacklight, FALLING); lcd.begin(); lcd.setBacklight(glBacklight); lcd.text(0, 0, "Hello!"); delay(1000); lcd.clear(); lcd.text(0, 5, "Light off"); } void loop() { lcd.setFont(0); lcd.text(0, 5, glBacklight ? "Light on " : "Light off"); lcd.setFont(1); lcd.text(0, 2, " MSP430"); delay(200); } void ISR_ToggleBacklight() { delayMicroseconds(1000); if (digitalRead(TOGGLE_BACKLIGHT) != LOW) { return; } glBacklight = (glBacklight == 0); lcd.setBacklight(glBacklight); return; }
  23. GLCD Arduino Library is here: http://playground.arduino.cc/Code/GLCDks0108 Stellaris Code Here: https://codeload.github.com/szczys/stellaris-ks0108/zip/master Universal C Library for GLCD: http://en.radzio.dxp.pl/ks0108/ Please help me make a library for ENERGIA IDE. JHD12864E-JHD.pdf
  24. MSP432 version of my Universal Graphics Library. Works with my latest Color LCD BoosterPacks, 2.2" and 2.4" (320x240) Touch support will be added in late April. ugl432.zip
  25. I have a Spikenzie Labs LCD screen with an interface (screen utilizes the HD44780 chipset). I have it connected to an MSP-EXP432P401R (Rev 1.0). I have finally got code working that allows me to write to the LCD screen through the serial monitor, however I can only write to the screen for a short but varying amount of time. Sometimes I can print to the screen for 5 seconds, sometimes only for 1 second before communication cuts out. Here is the code I am using: #include <Wire.h> #include <LiquidCrystal.h> #define addr 0x40 >> 1 void setup() { Wire.begin(); Serial.begin(9600); } void loop() { Wire.beginTransmission(addr); Wire.write(Serial.read()); Wire.endTransmission(); } My connections are as follows: LCD screen -> MSP432 VCC -> 5V GND -> GND SDA -> pin 10 SCL -> pin 9 I have also tried using a level shifting circuit on the data lines with no effect. Does anyone know what's going on and what I can do to fix this? Thank you
×