This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LaunchPad BIT0aa Undefined

I just unboxed my LaunchPad and am going through the "Getting Started" guide.  I am on Lab2 and have copied source code into main.c from the Lab2 source folder.  When I build I get 6 errors all stating BIT0aa is undefined. On line 18 though it looks defined to me.  I new to this so I may be missing something.  Any help would be appreciated.

#define     LED0                  BIT0aa

Take care,

Jon

  • This seems like a typo.  I just installed the MSP430 workshop materials for the Launchpad and the Temperature_Sense_Demo.txt file does not have BIT0aa, but rather only BIT0.

    By the way, the statement above is defining LED0 to be BIT0aa, not defining BIT0aa.

  •  

    Brandon,

    Worked like a charm.  Strange why the code I received had the typo.  Regardless thanks for the help.  I can move on worry free.  

    Yeah you got me on the define!  I should know that.  I am more of a software guy.

    Take care,

    Jon

     

**Attention** This is a public forum