Jump to content
Sign in to follow this  
Nikita

while(ADC10CTL1 &ADC10BUSY);

Recommended Posts

Hey All,

 

Hieeeee

 

When i am debugging my code,

it is giving a error called

 

Multiple markers at this line

- <a href="file:/D:/code%20composer%20studiov5/ccsv5/tools/compiler/dmed/HTML/MSP430/1527.html">#1527-D</a> (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module 
instead
- #20 identifier "ADC10TL1" is undefined ON THIS LINE while(ADC10CTL1 & ADC10BUSY);
 
Thanks in anticipation
Nikki

 

Share this post


Link to post
Share on other sites

Hey,

 Detected SW delay loop using empty loop. Recommend using a timer module 

this is because you are using a while loop and ccs is warning you that this might not be energy efficient, in this case its ok (imo)

 

For the other Error message, can you tell me what msp you are using and what header file you have included?

 

-lastaid

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...