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.


Found 51 results

  1. 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.....
  2. 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
  3. 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.
  4. 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.
  5. 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!!!
  6. 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
  7. 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.
  8. 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
  9. 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
  10. 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
  11. 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!
  12. 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
  13. Hello, I'm trying to get a standard 1602 LCD (16x2 from Raystar) connected to MSP432 with the I2C interface. Are there any existing libraries which could help me out? I've found some I2C libraries for Arduino but naturally they're not compatible, and the only existing Energia examples deal with CogLCD which uses a SPI interface (emerging question: is there a way to make SPI and I2C compatible?) or standard 16 pin connection. MSP432 is still a relatively fresh chip, so I can't find any examples whatsoever. Thanks!
  14. While searching for a font creator I found an interesting one here: http://www.mikrocontroller.net/topic/99701#865331 It creates fontdata that are bit aligned so was a bit tricky to render but I have managed to create code that does that. By default it generates proportional fonts (from True Type) and also includes the top bit set characters that I need for my radio library. So, here is my initial code for rendering fonts generated by this utility - please note it is cannot handle fonts higher than 24 pixes. Add as font.h or to graphics.h: #include <stdbool.h> typedef struct Font { // common shared fields uint16_t font_Size_in_Bytes_over_all_included_Size_it_self; uint8_t font_Width_in_Pixel_for_fixed_drawing; uint8_t font_Height_in_Pixel_for_all_Characters; uint8_t font_Bits_per_Pixels; // if MSB are set then font is a compressed font uint8_t font_First_Char; uint8_t font_Last_Char; uint8_t font_Char_Widths[1]; // size dependent on number of glyphs uint8_t font_data[]; // bit field of all characters } Font; uint8_t getFontWidth (Font *font); uint8_t getFontHeight (Font *font); inline uint8_t getCharWidth (Font *font, unsigned char c); uint16_t getStringWidth (Font *font, unsigned char *string); uint8_t drawFontChar (Font *font, uint16_t x, uint16_t y, unsigned char c, bool opaque); void drawFontString (Font *font, uint16_t x, uint16_t y, unsigned char *string, bool opaque); Add to graphics.c - also include font.h if code above not added to graphics.h : static uint16_t getoffset (Font *font, unsigned char c) { uint16_t offset = 0; if(c > font->font_First_Char) { c -= font->font_First_Char; while(c--) { offset += font->font_Char_Widths[c]; }; } return offset; } uint8_t getFontWidth (Font *font) { return font->font_Width_in_Pixel_for_fixed_drawing; } uint8_t getFontHeight (Font *font) { return font->font_Height_in_Pixel_for_all_Characters; } uint8_t getCharWidth (Font *font, unsigned char c) { return c != ' ' && (c < font->font_First_Char || c > font->font_Last_Char) ? 0 : ((c == ' ' || font->font_Char_Widths[c - font->font_First_Char] == 0 ? font->font_Width_in_Pixel_for_fixed_drawing / 4 : font->font_Char_Widths[c - font->font_First_Char]) + 2); } uint16_t getStringWidth (Font *font, unsigned char *string) { unsigned char c; uint16_t width = 0; while((c = *string++)) { width += getCharWidth(font, c); } return width; } uint8_t drawFontChar (Font *font, uint16_t x, uint16_t y, unsigned char c, bool opaque) { uint8_t width = getCharWidth(font, c); uint32_t row, column, bitOffset, dataIndex, preShift, pixels; bool paintSpace; unsigned char *fontData = font->font_Char_Widths + font->font_Last_Char - font->font_First_Char + 1; if(width) { bitOffset = getoffset(font, c) * font->font_Height_in_Pixel_for_all_Characters; dataIndex = bitOffset >> 3; preShift = bitOffset - (dataIndex << 3); column = width; width -= 2; paintSpace = c == ' ' || !font->font_Char_Widths[c - font->font_First_Char]; if(!paintSpace || opaque) { x += column; while(column--) { row = font->font_Height_in_Pixel_for_all_Characters; if(!((column == 0) || (column > width)) && !paintSpace) { pixels = *((uint32_t *)&fontData[dataIndex]) >> preShift; while(row--) { if(pixels & 0x01) { setArea(x - column, y - row, x - column, y - row); writeData(colorHighByte); writeData(colorLowByte); } else if(opaque) { setArea(x - column, y - row, x - column, y - row); writeData(bgColorHighByte); writeData(bgColorLowByte); } pixels >>= 1; } bitOffset += font->font_Height_in_Pixel_for_all_Characters; dataIndex = bitOffset >> 3; preShift = bitOffset - (dataIndex << 3); } else if(opaque) { while(row--) { setArea(x - column, y - row, x - column, y - row); writeData(bgColorHighByte); writeData(bgColorLowByte); } } } } } return width == 0 ? 0 : width + 2; } void drawFontString (Font *font, uint16_t x, uint16_t y, unsigned char *string, bool opaque) { uint32_t xs = x; unsigned char c; while((c = *string++)) { xs += drawFontChar(font, xs, y, c, opaque); } } The font files has to be modified slightly before they can be used - it should be quite obvious what to remove. Example: drawFontString((Font *)pixelmix, 5, 100, "The lazy fox...", false); There are room for optimizations, but I'll leave that for later - my primary goal is to get the DAB project on air. Terje
  15. I have few questions for users of LCD BoosterPacks.
  16. hello all! why are energia wire lib don't work? I have connected my launchpad 430g2553 to PCF8576 LCD 10. P1_6 to SDL and P1_7 to SDA . I try to write some code to use Software I2C Library but it did't work in energia . But EAR lib for software i2c work correct way. what i can to do to connect LCD with energia ? no software no hardware energia code don't work what 's the reason?
  17. Hello, I have being working on getting a 20x4 LCD (HD44780) working on the CC3200 launchpad and have not been able to get it working. I have found a few posts with partial code and partial libraries but have not been able to find an SPI or I2C example that works. Does anyone have a working implementation of the HD44780 on the CC3200 in either I2C, Serial or SPI mode? This is seems to be the closest I have found ( https://github.com/remixed123/CC3200-hd44780-lcd ) ... but I am unable to get it working. If anyone has been able to get this working, could you send me a simple "hello world" example. Thanks in advance for any insights or suggestions. John
  18. 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
  19. Stellaris interfacing with LCD

    Hello, I have a Stellaris Launchpad LM4F120XL Board and I am trying to interface with an 16x2 LCD. My LCD requires 5V and my Stellaris Launchpad has 3.3V output power pin. I have 2 questions, 1) Would it be alright if I connected the LCD to an external 5V supply and connected the data pins (D0-D7) to the Stellaris Launchpad GPIOs or do I have to have an LCD that operates on 3.3V supply? 2) Will it work if I connected the LCD to the 3.3V output power pin of the Stellaris Launchpad and connected the data pins (D0-D7) to the Stellaris Launchpad GPIOs ? Thank You
  20. Two LCD displays on Tiva

    Hi Has anyone successfully connected two TFT LCD displays to Tiva-C Launchpad? How much work would be to modify the graphics libraries to do so? Would two different LCD models be easier to do? I am aware that parallel connection is probably not possible due to lack of pins. Thanks for any suggestions.
  21. New LCD BoosterPacks are here. Both are 2.4" 320x240, one with touch panel, one without. Both feature the same pinout as their "little" 2.2" brother, same configuration options and SD socket. Can be used with my graphics library without any changes! Available on Tindie 2.4 LCD BP v3.pdf 2.4 LCD BP v2.pdf
  22. New LCD BoosterPacks are here. Both are 2.4" 320x240, one with touch panel, one without. Both feature the same pinout as their "little" 2.2" brother, same configuration options and SD socket. Can be used with my graphics library without any changes! V2 schematic (note that BL MOSFET is optional) - 2.4 LCD BP v2.pdf V3 schematic - 2.4 LCD BP v3.pdf
  23. CC3200 with LCD

    Does anyone have a link to a library that will let me use the two row 1602 LCD display unit with the CC3200 Launchpad? thanks
  24. MSP430F5529 has two I2C interfaces, using P3.0/P3.1 (SDA/SCL) and P4.2/P4.1 (SCL/SDA) and two SPI interfaces using P3.0/P3.1/P3.2/P2.7 (MOSI/MISO/SCK/CS) and P4.2/P4.1/P4.3/P4.0 (MISO/MOSI/SCK/CS). How, or rather maybe, what is the best way to access the non-default I2C/SPI peripherals, without resorting to modifying the Energia core? For instance, I am using the LiquidCrystal_I2C library found here, and it works fine on the G2553 and F5529, but I'd like to move the LCD over to the other I2C peripheral so I can use those pins for an SPI device. On Tiva, one can do "Wire.setModule(1)" or similar to do something with an alternative peripheral, but it seems this isn't possible with the F5529. Might also be worth noting the above mentioned library doesn't play well on the LM4F/TM4C LaunchPads either. And FWIW, the LCD I'm using is a 20x4 with an I2C interface board labeled "Arduino-IIC-LCD GY-LCD-V1"
  25. Hello guys, I'm building a Holter ECG, and would like put one symbol on the LCD. Need to inform the user the level of charge that the battery has. And I would put the battery symbol so that information was given. But I am not getting, someone can give me an example of how I can put a symbol in a particular line of lcd
×