If so, how should I divide my code to get better performance.
Put lines 100 to 237 on processor 1, and all the rest on processor 2.
Quote from: AWOL on Mar 20, 2014, 03:54 pmPut lines 100 to 237 on processor 1, and all the rest on processor 2.Is this even possible? All I know is I can put different calculation to different processor. Can I ignore the structure and divide it by lines?
getting MPU 6050's signal( by I2C),
While tuning PID, we found that our system only maintain an update rate about 30Hz, Which is a little bit not enough.
I did performance tuning for a living, I ALWAYS start with rule #1.