summaryrefslogtreecommitdiff
path: root/tests/wipy/pin.py
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-09-07 09:23:46 +0200
committerDaniel Campora <daniel@wipy.io>2015-09-10 07:59:47 +0200
commitf91f212d9fef66e515935a52712613550a04ca65 (patch)
tree9f76d61531c575272928b2bfcb9b209add10a5ef /tests/wipy/pin.py
parent36821d095a2657ab370a8f413f471f4c9ad9a8b5 (diff)
cc3200: New UART API plus related test.
Diffstat (limited to 'tests/wipy/pin.py')
-rw-r--r--tests/wipy/pin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wipy/pin.py b/tests/wipy/pin.py
index 39a52ca01..20bea3e5a 100644
--- a/tests/wipy/pin.py
+++ b/tests/wipy/pin.py
@@ -5,7 +5,6 @@ from pyb import Pin
import os
machine = os.uname().machine
-
if 'LaunchPad' in machine:
pin_map = ['GP24', 'GP12', 'GP14', 'GP15', 'GP16', 'GP17', 'GP28', 'GP8', 'GP6', 'GP30', 'GP31', 'GP3', 'GP0', 'GP4', 'GP5']
af_range = range(1, 16)
@@ -24,7 +23,7 @@ def test_pin_read(pull):
# enable the pull resistor on all pins, then read the value
for p in pin_map:
pin = Pin(p, mode=Pin.IN, pull=pull)
- # read the pin value
+ for p in pin_map:
print(pin())
def test_pin_af():