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 support@ccsinfo.com

PIC10F20x

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



Joined: 22 Dec 2003
Posts: 82

View user's profile Send private message

PIC10F20x
PostPosted: Wed Sep 12, 2012 1:04 am     Reply with quote

I want to make a Blink a LED every 30 Sec.
Using 10F20x, 1 push-button and one LED.
The device should be in SLEEP mode till the push-button press as it act as On/Off switch, blink the LED and go to sleep for a 30 sec, then wake-up blink a LED and go to sleep again for 30 sec.
Only when pressing the push-button again it should go to sleep forever (till on/off again)

Can someone help me with this kind of code.

Thanks.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Sep 13, 2012 1:00 pm     Reply with quote

1. Post the full part number of the PIC you are using (not 10F20x).

2. Try to write the code. Then post your program and explain what
works, and what doesn't work.

3. Post your CCS compiler version.

4. We don't want to do your school homework for you. You must do it.
We can help if you get stuck on a certain part of it.
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