AtomSoft
Well-Known Member
Hey all i wanted to know something....
You know how you can Set a Byte or better yet PORT and then set individual bits like
LATA = 0x01;
or just
LATAbits.LATA0 = 1;
How can i create my own varriable like that?
If i wanted to name it... MyCon
and use it like :
MyCon = 0x01;
MyConbits.Con0 = 1;
How can i do that/this?
Im going to look through the headers and see if i can figure it out but if anyone knows off the top of head plz & thanks
You know how you can Set a Byte or better yet PORT and then set individual bits like
LATA = 0x01;
or just
LATAbits.LATA0 = 1;
How can i create my own varriable like that?
If i wanted to name it... MyCon
and use it like :
MyCon = 0x01;
MyConbits.Con0 = 1;
How can i do that/this?
Im going to look through the headers and see if i can figure it out but if anyone knows off the top of head plz & thanks
Last edited: