Author |
Message |
Topic: Naming IO Pins |
bob_4610
Replies: 5
Views: 17661
|
Forum: 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
|
Forum: 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
|
Forum: 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 ... |
|