This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Declaring array of pins

How to declare an array of pins?
I tried the following approach.

sbit pins[2]={0x80,0x81}

I need to declare them in an array because I have to make multiple changes to pins in my project. My code will become very bulky if I use one variable for one pin. Is there a way out?