Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pynxc/tutorial_samples/8_RotateMotorEx.py
diff options
context:
space:
mode:
Diffstat (limited to 'pynxc/tutorial_samples/8_RotateMotorEx.py')
-rw-r--r--pynxc/tutorial_samples/8_RotateMotorEx.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pynxc/tutorial_samples/8_RotateMotorEx.py b/pynxc/tutorial_samples/8_RotateMotorEx.py
new file mode 100644
index 0000000..c40d796
--- /dev/null
+++ b/pynxc/tutorial_samples/8_RotateMotorEx.py
@@ -0,0 +1,7 @@
+def main():
+
+ RotateMotorEx(OUT_AC, 50, 360, 0, True,False)
+ RotateMotorEx(OUT_AC, 50, 360, 40, True,False)
+ RotateMotorEx(OUT_AC, 50, 360, -40, True,False)
+ RotateMotorEx(OUT_AC, 50, 360, 100, True,True)
+