Captain Spock 0 Newbie Poster

Hello everyone,

I am currently working on my final year project and i encountered some problems with my software when using TI CCS. Right now, i am trying to print out a value from a variable and display it out into my LCD screen. I am currently using MSP430g2232 and the code for my LCD is from - https://sites.google.com/site/cacheattack/msp-projects/msp430-launchpad-with-lcd-module#TOC-MSP430-Pin-Interface-to-LCD . The code from the website is fine as i can print out the words and seen on my LCD screen. However, i am clueless as to how to print out values from a variable into my LCD screen. For example, if i declare an int i = 8 , i am not sure what function to use to print it out on the screen. I have researched on the internet and they say to use Sprintf/Snprintf. I have tried a few codes from the internet using Sprintf/Snprintf but there are always 4 errors showing out as seen below. I am quite new to programming and all help are appreciated (:

Errors:
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "SnprintfTest.out" not built Snprintf Test line 0 1322999982240 647
placement fails for object ".text", size 0xbec (page 0). Available ranges: FLASH size: 0x7e0 unused: 0x760 max hole: 0x760 Snprintf Test line 0 1322999982239 644
run placement fails for object ".bss", size 0x22c (page 0). Available ranges: RAM size: 0x100 unused: 0x60 max hole: 0x60 Snprintf Test line 0 1322999982239 645
run placement fails for object ".cio", size 0x120 (page 0). Available ranges: RAM size: 0x100 unused: 0x60 max hole: 0x60 Snprintf Test line 0 1322999982239 646


Thank you,

Captain Spock

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.