Create rotary-encoder.c