![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This drive is working well with "LPD3806-600BM-G5-24G", and have Simple program, external pull-up resistance is required
注意:需要外置上拉电阻。
Diff: main.cpp
- Revision:
- 1:4d205546ec69
- Parent:
- 0:b2ffb830539c
- Child:
- 2:7d34758c3cc4
diff -r b2ffb830539c -r 4d205546ec69 main.cpp --- a/main.cpp Sat Feb 02 21:19:30 2019 +0000 +++ b/main.cpp Fri Feb 08 07:07:21 2019 +0000 @@ -1,6 +1,8 @@ +// Attention: External pull-up resistance is required + #include "mbed.h" #include "Rotary_Encoder.h" - +// (White Line, Green Line) Rotary_Encoder Encoder(PA_0, PA_1); int main(void)