microsoft / jacdac

Device and service catalogs for Jacdac.
https://aka.ms/jacdac
Creative Commons Attribution 4.0 International
66 stars 25 forks source link

It will be nice to have rotary event or variable shows the direction in which rotary encoder is rotated. #1213

Closed siby-george closed 1 year ago

siby-george commented 1 year ago

when working with rotary encode there is need to know direct in which we are rotating the shaft.

It will be good to have a variable which shows the direction rather that have a state variable and compare the value to do that in make code.

Having this as part of the rotary encoder will simplify the sketch.

pelikhan commented 1 year ago

@siby-george is this for makecode?

siby-george commented 1 year ago

That is right for makecode.