Encoder code that dumps angle value through serial. No running avg. implemented yet.