Jump to content
43oh

pbindahouse

Members
  • Content Count

    9
  • Joined

  • Last visited

Everything posted by pbindahouse

  1. I am using Code Composer and the TI Launchpad dev board. The LCD is one sold through Spark fun https://www.sparkfun.com/products/9394 hooked up to a MSP430G2553. Here is the code I started with: /* * UART TX demonstration program for MSP430G2231, using * SparkFun Serial LCD module. * * Hook up the RX line on the SparkFun Serial LCD backpack to * P1.1 (TXD) on the LaunchPad board, power everything appropriately, * and you're all set to go. * * Matthew R. Wilson <mwilson@mattwilson.org> * http://mattwilson.org/msp430/ * August 16, 2010 * * The code to deal with serial d
  2. Greetings, Thank you all for the support. I am trying to get some text displayed on an LCD but I cannot get it to work. I found some code and got rid of everything but the basics but for some reason I cannot get it to work. There is a timer interrupt within the code I'm not 100% sure what it does but i believe it triggers the reloading of the text to the LCD could someone clarify this for me? Here is the code: /* * UART TX demonstration program for MSP430G2231, using * SparkFun Serial LCD module. * * Hook up the RX line on the SparkFun Serial LCD backpack to * P1.1 (TXD) on
  3. Thank you. How do I check the flag of each?
  4. I have three buttons on port 1 (1.5,1.6,1.7) for a three button menu on an LCD do I need to create a single interrupt for each one (three interrupts) or can I use the same interrupt (if any button is pushed, figure out which one is pushed and do whatever) ? I have used code and saw it working for a single button but I am confused when using three Thanks Bill
  5. I have an external button ( P1.5) How do I create an interrupt when the button is pushed? all I have is a timer A interrupt which runs at regular intervals. How does one create an interrupt that runs on an asynchronous event? Thanks
  6. Can anyone do a better job explaining this code to me? it is from a launchpad script that hooks a launchpad up to a serial LCD from sparkfun. It has to do with packing data to send via UART to the LCD but I cannot understand it. Thanks // base-10 itoa for positive numbers. Populates str with a null-terminated string. // limit lets you overflow back to 1 when you hit the limit+1, 2*limit+1, ... // make sure *str is an array that can hold the number of digits in your limit + 1. void itoa(unsigned int val, char *str, unsigned int limit) { int temploc = 0; int digit = 0; int strloc =
  7. I just tried that and it did not work is there a way to re install the driver? Thanks
  8. I plug in my lauchpad and try to download some code to it and I keep getting this error. I think it is missing a driver or something but I cannot seem to fix it any help would be appreciated. MSP430: Error initializing emulator: No USB FET was found Thanks! Bill
×
×
  • Create New...