djc
Advanced Member level 1
- Joined
- Jan 27, 2013
- Messages
- 402
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- India
- Activity points
- 4,554
Hi,
I am working on Atmega 8 with mikroc pro for AVR. Earlier I have worked with PIC series like 16f676, 18f4520 with mikroc pro basic for PIC. There it was easy to refer single pin of controller. Suppose i want to access pin 2 of portA, then I would write PORTA.B2. But in Atmega 8 this facility is not available. So is there any other way by which i can refer to single pin of Atmega 8 so that i can use it with #define directives and all oter operations.
I am working on Atmega 8 with mikroc pro for AVR. Earlier I have worked with PIC series like 16f676, 18f4520 with mikroc pro basic for PIC. There it was easy to refer single pin of controller. Suppose i want to access pin 2 of portA, then I would write PORTA.B2. But in Atmega 8 this facility is not available. So is there any other way by which i can refer to single pin of Atmega 8 so that i can use it with #define directives and all oter operations.