[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1919017 [View]
File: 30 KB, 354x230, 1578541429574.jpg [View same] [iqdb] [saucenao] [google]
1919017

>>1918967
interrupt on both encoder pins and look at the levels when the interrupt is fired.
A == HIGH and B == LOW means one direction.
B == HIGH and A == LOW means the other direction

Navigation
View posts[+24][+48][+96]