The relative position of the switch is insignificant but the direction of rotation is what matters. The short and dirty: Each of the switch’s 2 output pins is attached to a pin change interrupt ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果