arduino:encoder
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arduino:encoder [2019/09/28 18:24] – aistis | arduino:encoder [2019/09/28 19:33] (current) – aistis | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| + | using lib: https:// | ||
| + | |||
| + | < | ||
| + | #include < | ||
| + | Encoder knobLeft(8, 9); | ||
| + | void setup() { | ||
| + | Serial.begin(115200); | ||
| + | } | ||
| + | void loop() { | ||
| + | Serial.println(knobLeft.read()); | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | {{: | ||
arduino/encoder.1569684240.txt.gz · Last modified: by aistis
