Hi,
I would like to ask you that I want to shift Var right or left (Var>>1) and move it to Port or check Pin of port every time, I wrote the instruction below but it doesn't work for me, for example PORTB, PIN3:
PORTB|=((1<<3)&((Var>>1)&1))
can give me instruction actually work (on Multisim)?
Thank you