CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 2 matches
CCS Forum Index
Author Message
  Topic: Interrupt and variable trouble
Slimy

Replies: 4
Views: 3627

PostForum: General CCS C Discussion   Posted: Thu Nov 26, 2009 4:20 am   Subject: Interrupt and variable trouble
This is not all code of course all defined. Think problem
will be fix like this

while(1)
{
sleep;
}

but not sure Smile.
I have next problem. I have a structure

typed ...
  Topic: Interrupt and variable trouble
Slimy

Replies: 4
Views: 3627

PostForum: General CCS C Discussion   Posted: Wed Nov 25, 2009 3:17 pm   Subject: Interrupt and variable trouble
I have problems with interrupts. In the handler, the variable is changed but not saved in the future if I use sleep in MAIN () examples.

volatile int nRepeatCounter ;
int ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group