Thanks PM sent.
Max.
Max.
Hello Lourens, I would like to ask you if you can share your code but I cannot PM you until I reach 10 postsHi Max
I have available 18F assembler code for 2 PID controllers. The code is part of the library for a visual programming system. The first uses the standard algorithm in independent gains form, uses 582 bytes program memory and executes in 143 uSec. The second also uses the standard form but in velocity format, uses 278 bytes program memory and executes in 152 uSec. Floating point calculation is used so this will skew those program memory figures. Give me a URL and I will send you the code.
Lourens