From a79dc637d60b33032e951f5338fdd9b6a47a5b46 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Fri, 3 Jun 2011 12:09:02 +0800 Subject: removed nxt-python-fantom hack, it is committed upstream --- nxt-python-fantom/examples/spin.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 nxt-python-fantom/examples/spin.py (limited to 'nxt-python-fantom/examples/spin.py') diff --git a/nxt-python-fantom/examples/spin.py b/nxt-python-fantom/examples/spin.py deleted file mode 100644 index fc7cb2c..0000000 --- a/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) - -- cgit v1.2.3