Hello
I'm a little confused about the sample time. If I give there a value, does the code somehow work automatically with that time?
Or should I for example in Atmel AVR give a value for PID sample time variable, and manually setup AVR internal timer registers etc. to calculate the same time interval to call the PID with the same time period as I gave for the PID?
Hope you get what I am trying to explain here :)
Hello
I'm a little confused about the sample time. If I give there a value, does the code somehow work automatically with that time?
Or should I for example in Atmel AVR give a value for PID sample time variable, and manually setup AVR internal timer registers etc. to calculate the same time interval to call the PID with the same time period as I gave for the PID?
Hope you get what I am trying to explain here :)