MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / setInterval

Method setInterval

libraries/PID_RT/PID_RT.cpp:134–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133
134bool PID_RT::setInterval(uint32_t interval)
135{
136 if (interval != _interval)
137 {
138 _interval = interval;
139 // recalculate __Ki and __Kd.
140 setKi(_Ki);
141 setKd(_Kd);
142 return true;
143 }
144 return false;
145}
146
147
148// -- END OF FILE --

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64