aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/nxt-python-fantom/examples/spin.py
diff options
context:
space:
mode:
Diffstat (limited to 'AT91SAM7S256/armdebug/nxt-python-fantom/examples/spin.py')
-rw-r--r--AT91SAM7S256/armdebug/nxt-python-fantom/examples/spin.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/AT91SAM7S256/armdebug/nxt-python-fantom/examples/spin.py b/AT91SAM7S256/armdebug/nxt-python-fantom/examples/spin.py
deleted file mode 100644
index fc7cb2c..0000000
--- a/AT91SAM7S256/armdebug/nxt-python-fantom/examples/spin.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python
-
-import nxt.locator
-from nxt.motor import *
-
-def spin_around(b):
- m_left = Motor(b, PORT_B)
- m_left.turn(100, 360)
- m_right = Motor(b, PORT_C)
- m_right.turn(-100, 360)
-
-b = nxt.locator.find_one_brick()
-spin_around(b)
-