motors:motor_with_encoder
This is an old revision of the document!
motor with encode A B
RK 520 encoder motor
one round turn equals to 44 encoded steps
#include <Encoder.h> Encoder knobLeft(19, 16); void setup() { Serial.begin(115200); Serial.println("start"); } void loop() { auto a = knobLeft.read(); Serial.printf("%d, %d\n", a, a); }
motors/motor_with_encoder.1664221374.txt.gz · Last modified: by aistis

