Hi! I want to assign a variable to a portion of a PORT register, similar to this: #define MyRegister PORTB<3:0> That doesn't work. Can anyone show me the correct syntax for this, to assign 4 bits of a PORT register to a variable? Thanks!Glen..
↧