![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Working, but boundaries not yet tested
Dependencies: HIDScope MODSERIAL QEI biquadFilter mbed
Fork of prog_inversekin_feedback by
Revision 13:934af23bf416, committed 2016-10-20
- Comitter:
- GerhardBerman
- Date:
- Thu Oct 20 11:24:19 2016 +0000
- Parent:
- 12:05e5964b69a4
- Child:
- 14:725a608b6709
- Commit message:
- Working with Putty, no spontaneous motor action. Encoder 2 is NOT WORKING
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 20 11:15:10 2016 +0000 +++ b/main.cpp Thu Oct 20 11:24:19 2016 +0000 @@ -8,8 +8,8 @@ //set pins DigitalIn encoder1A (D13); //Channel A van Encoder 1 DigitalIn encoder1B (D12); //Channel B van Encoder 1 -DigitalIn encoder2A (D14); -DigitalIn encoder2B (D15); +DigitalIn encoder2A (D14); //Channel A van Encoder 2 +DigitalIn encoder2B (D15); //Channel B van Encoder 2 DigitalOut led1 (D11); DigitalOut led2 (D10); AnalogIn potMeter1(A2);