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

Wake up

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
rikotech8



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

Wake up
PostPosted: Fri Dec 30, 2011 3:24 am     Reply with quote

Hello! I'm a amateur in writing CCS codes, but I try to advance.
Can anyone tell me in details, how could I put to sleep the PIC and then wake up the one? I would be thankful, if you give me any simple example code.
I hope that you understand me Surprised .
Excuse my poor english!
Thanx again!
picnic



Joined: 09 Oct 2008
Posts: 15

View user's profile Send private message

PostPosted: Fri Dec 30, 2011 3:47 am     Reply with quote

CCS supply a sample program that demonstrates one way of doing this, look for EX_WAKEUP.C

What method are you hoping to use to wakeup?
rikotech8



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

re
PostPosted: Fri Dec 30, 2011 6:36 am     Reply with quote

I have no any examples whit that name, or similar.
I would like to wake up the pic via input_statement_change. No matter which one. So I could affect it whit external switch, button or else.
thx! Smile
temtronic



Joined: 01 Jul 2010
Posts: 9246
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Dec 30, 2011 6:57 am     Reply with quote

CCS puts all their example programs in the 'examples' folder.

If you press F11 while your project is open, the onscreen help menu opens. Look in the FAQ section to see about using Port B pins 7..4.

One of the reasons buying CCS is the ton of working examples they supply!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group