-
Notifications
You must be signed in to change notification settings - Fork 18
Sensor: Relative Rotary Encoder SENSOR
Jaume Olivé Petrus edited this page Oct 30, 2017
·
3 revisions
What | Comments | |
---|---|---|
Interface | 3 GPIO | GPIO 1: A signal GPIO 2: B signal GPIO 3: SW signal (switch) |
Read () from sensor When () changes from sensor |
dir | -1: counter clockwise 0: no movement 1: clockwise |
val | encoder value | |
sw | 0: switch released 1: switch pressed |
This sensor requires debouncing by hardware.