summaryrefslogtreecommitdiff
path: root/nxt-python-fantom/examples/test_sensors.py
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-06-03 12:09:02 +0800
committerTat-Chee Wan (USM)2011-06-03 12:09:02 +0800
commita79dc637d60b33032e951f5338fdd9b6a47a5b46 (patch)
tree0630e7277c7f89a3fdf9df35ce637c97c3c295b9 /nxt-python-fantom/examples/test_sensors.py
parente4ee512ec341cb349d51c7671092d203472b840a (diff)
removed nxt-python-fantom hack, it is committed upstream
Diffstat (limited to 'nxt-python-fantom/examples/test_sensors.py')
-rw-r--r--nxt-python-fantom/examples/test_sensors.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/nxt-python-fantom/examples/test_sensors.py b/nxt-python-fantom/examples/test_sensors.py
deleted file mode 100644
index 4c8d249..0000000
--- a/nxt-python-fantom/examples/test_sensors.py
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env python
-
-import nxt.locator
-from nxt.sensor import *
-
-b = nxt.locator.find_one_brick()
-
-print 'Touch:', Touch(b, PORT_1).get_sample()
-print 'Sound:', Sound(b, PORT_2).get_sample()
-print 'Light:', Light(b, PORT_3).get_sample()
-print 'Ultrasonic:', Ultrasonic(b, PORT_4).get_sample()