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: How do you use the switch statement
Allen

Replies: 1
Views: 3167

PostForum: General CCS C Discussion   Posted: Fri Jan 02, 2009 4:16 pm   Subject: How do you use the switch statement
I am using a 12F509 and want to switch between two led patterns using a push button to switch between each pattern. I have seen the code for the switch statement but do not know how to use it.

Cou ...
  Topic: How do you toggle an LED on and off using 12F509
Allen

Replies: 1
Views: 5635

PostForum: General CCS C Discussion   Posted: Wed Dec 31, 2008 12:39 pm   Subject: How do you toggle an LED on and off using 12F509
I want to toggle on and off an LED when I press a button, I want it to turn on when I press it and I want it to turn off when I press it again. It also has to repeat so I can do it over and over again ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group