hello guys,
I am a beginner to the c programming in micro controller, so if the question sound stupid please forgive me.
I want to assign the special name to each bit for SFR. For example, PORTBbits.RB0 represent the bit 0 in port B register. I want to give name to PORTbits.RB0 like Switch1. It will ease my programming process. Can i do this in the programming?
One thing i have in my mind is using the Alias attribute in the c programming provided by microchip but it is not working. Can anyone give me some example on it? i google search already but no related information. Please offer some help, thanks.