Contains encoder KY040 patch, digital pullup input patch, example of usage. Encoder reads boolean inputs to obtain numerical value of revolution. Boolean outputs are used for clockwise and counterclockwise direction detection respectively.
Encoder with button and set limits. When the extreme value is reached, the next transaction continues counting from the extreme opposite value. For example, with limits from 1 to 4, when the value of 4 is reached, continues counting from 1 and vice versa.