sahu
Advanced Member level 2
- Joined
- Oct 9, 2009
- Messages
- 516
- Helped
- 68
- Reputation
- 130
- Reaction score
- 62
- Trophy points
- 1,308
- Location
- Uttar pradesh (INDIA)
- Activity points
- 3,876
Equates vs Define
What is the difference, if any between using equates (e.g. LCD_RS Equ 0x04) and using define (e.g. #define SDA 7)? When should one use equates and when should one use #define?
I note that the PICS used in the ASM have features such as
Power Up Timer, Watch Dog Timer, Brown Out Reset etc. =?
pl define..........:|
What is the difference, if any between using equates (e.g. LCD_RS Equ 0x04) and using define (e.g. #define SDA 7)? When should one use equates and when should one use #define?
I note that the PICS used in the ASM have features such as
Power Up Timer, Watch Dog Timer, Brown Out Reset etc. =?
pl define..........:|