diff options
Diffstat (limited to 'pynxc/tutorial_samples/8_PID.py')
-rw-r--r-- | pynxc/tutorial_samples/8_PID.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pynxc/tutorial_samples/8_PID.py b/pynxc/tutorial_samples/8_PID.py new file mode 100644 index 0000000..a4c09a2 --- /dev/null +++ b/pynxc/tutorial_samples/8_PID.py @@ -0,0 +1,8 @@ +DEFINE P=40 +DEFINE I=40 +DEFINE D=70 + +def main(): + RotateMotorPID(OUT_A, 100, 180, P, I, D) + Wait(2000) + |