rafaelmartins-archive/pwm-encoder archive