test
Fork of PID by
Diff: PID.cpp
- Revision:
- 6:fc06979d29e0
- Parent:
- 4:4ed1f5bccac8
--- 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(){