Sajjadkhan
Full Member level 5
- Joined
- Sep 25, 2010
- Messages
- 307
- Helped
- 17
- Reputation
- 34
- Reaction score
- 16
- Trophy points
- 1,298
- Location
- Rawalpindi,Pakistan
- Activity points
- 4,199
In mikroC example we connect GLCD to any port by defining this statement
This dedicates all pins of the port and not allowing you to use specific pin of the port.
For example i am using PIC 16f887A (28 DIP Package ). I cant use portB as i need the interrupt pin and i cant use portC as i need PWM pin. Other ports are incomplete and i dont want to use bigger controller.
Is there some way around it like if i can set individual bits using "sbit".
Code C++ - [expand] 1 char GLCD_DataPort at PORTD;
This dedicates all pins of the port and not allowing you to use specific pin of the port.
For example i am using PIC 16f887A (28 DIP Package ). I cant use portB as i need the interrupt pin and i cant use portC as i need PWM pin. Other ports are incomplete and i dont want to use bigger controller.
Is there some way around it like if i can set individual bits using "sbit".