This drive is working well with "LPD3806-600BM-G5-24G", and have Simple program, external pull-up resistance is required
注意:需要外置上拉电阻。
Revision 2:7d34758c3cc4, committed 2019-02-08
- Comitter:
- Yifan_Du
- Date:
- Fri Feb 08 07:11:22 2019 +0000
- Parent:
- 1:4d205546ec69
- Commit message:
- Add instruction
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4d205546ec69 -r 7d34758c3cc4 main.cpp --- a/main.cpp Fri Feb 08 07:07:21 2019 +0000 +++ b/main.cpp Fri Feb 08 07:11:22 2019 +0000 @@ -1,5 +1,10 @@ // Attention: External pull-up resistance is required - +/* + Red Line -> 5V + Black Line -> GND + Green Line -> your STM32 pin + White Line -> your STM32 pin +*/ #include "mbed.h" #include "Rotary_Encoder.h" // (White Line, Green Line)