aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/nxt-python-fantom/examples/test_sensors.py
diff options
context:
space:
mode:
Diffstat (limited to 'AT91SAM7S256/armdebug/nxt-python-fantom/examples/test_sensors.py')
-rw-r--r--AT91SAM7S256/armdebug/nxt-python-fantom/examples/test_sensors.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/AT91SAM7S256/armdebug/nxt-python-fantom/examples/test_sensors.py b/AT91SAM7S256/armdebug/nxt-python-fantom/examples/test_sensors.py
deleted file mode 100644
index 4c8d249..0000000
--- a/AT91SAM7S256/armdebug/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()