i m working in C using Keil 3.55a
how can i define a one bit variable
and how can i compare two bits using if
how can i set or clear Bit
and how can i get the compliment of one byte or one bit, like in ASM CPL A or CPL c
Use #define
#define glcd_SCK 4 #define glcd_SDIN 3 #define glcd_DC 2 #define glcd_SCE 1 #define glcd_RST 0
Incorrect! That does not define one-bit variables!
It does not, in fact, define any variables at all!
Neil,
Sorry for wrong post, In my next post I have tried to regret that.