absolute encoder - arduino - workinggit diff