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 3 matches
CCS Forum Index
Author Message
  Topic: Naming IO Pins
bob_4610

Replies: 5
Views: 17661

PostForum: General CCS C Discussion   Posted: Wed Feb 04, 2004 5:16 pm   Subject: Naming IO Pins
Thanks for the suggestion, but it has the same disadvantage as what I'm using now, i.e. you need as many "switch/case" or "if's" as there are I/O pins involved since you must use constants.

What I ...
  Topic: Naming IO Pins
bob_4610

Replies: 5
Views: 17661

PostForum: General CCS C Discussion   Posted: Wed Feb 04, 2004 2:32 pm   Subject: Naming IO Pins
hi Rob

Thanks for your reply. This is very similar to the way I did it right now. However since there are 13 leds in total, the switch/case statement is quite extensive. Also, each led has 3 states ...
  Topic: Naming IO Pins
bob_4610

Replies: 5
Views: 17661

PostForum: General CCS C Discussion   Posted: Wed Feb 04, 2004 6:36 am   Subject: Naming IO Pins
I have an application that uses several IO pins to drive various leds. The pins are scattered over ports A, B & C (PIC16F73) because I use special functions like I2C, ext. IRQ etc... so some pins ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group