test
Fork of PID by
Revision 6:fc06979d29e0, committed 2017-11-25
- Comitter:
- tgw
- Date:
- Sat Nov 25 03:35:38 2017 +0000
- Parent:
- 5:0cf2f6d13c71
- Commit message:
- test
Changed in this revision
PID.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0cf2f6d13c71 -r fc06979d29e0 PID.cpp --- a/PID.cpp Tue Dec 29 02:31:32 2015 +0000 +++ b/PID.cpp Sat Nov 25 03:35:38 2017 +0000 @@ -68,7 +68,7 @@ } */ if(-0.00001 <= _ki && _ki <= 0.00001) i_accumulator = 0; - sample_timer.attach(this, &PID::sample, _Ts); + sample_timer.attach(callback(this, &PID::sample), _Ts); } void PID::stop(){