I tried to re-use Richards code, but I have encoder on PORTB.3 and PORTB.4 and not using button. I've changed enc_a to portb.4
and enc_b to portb.3, but I guess I also have to modify re =...