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

help please!!!

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



Joined: 25 Jan 2010
Posts: 35

View user's profile Send private message MSN Messenger

help please!!!
PostPosted: Fri Apr 09, 2010 12:57 pm     Reply with quote

Hi everyone.
I am looking for an answer of a question. Can I power on and power off a PIC via any port pins. I mean I place a button, say on pin_b1, can I use this pin to power on and power off the PIC? If so, how should I write a code to do this job?
Or is the only way to place a switch on pic's Vdd pin? Please help me...
_________________
compiler version: 4.105
pic: 16f876
clock frequency: 4MHz
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Apr 09, 2010 1:10 pm     Reply with quote

See this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=27580
See this schematic:
http://elm-chan.org/works/mp3/mpc_c1.png
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