swapan
Full Member level 4
- Joined
- Feb 20, 2009
- Messages
- 204
- Helped
- 27
- Reputation
- 54
- Reaction score
- 24
- Trophy points
- 1,298
- Location
- Kolkata
- Activity points
- 2,839
Hi friends,
In assembly language, particular bit of a I/O port could be defined as '#define Relay - PORTA,1'. In mikroC, how this bit could be defined so that in the code, if the respective bit of the port requires to be set, it could be done as 'Relay = 1' or otherwise.
regards
swapan
In assembly language, particular bit of a I/O port could be defined as '#define Relay - PORTA,1'. In mikroC, how this bit could be defined so that in the code, if the respective bit of the port requires to be set, it could be done as 'Relay = 1' or otherwise.
regards
swapan