Browse Source

tests/wipy: Remove unneeded dependencies to pyb.Pin.

pull/1472/merge
Daniel Campora 9 years ago
parent
commit
660f8613fd
  1. 1
      tests/wipy/adc.py
  2. 1
      tests/wipy/i2c.py
  3. 2
      tests/wipy/spi.py

1
tests/wipy/adc.py

@ -3,7 +3,6 @@ ADC test for the CC3200 based boards.
'''
from pyb import ADC
from pyb import Pin
import os
machine = os.uname().machine

1
tests/wipy/i2c.py

@ -4,7 +4,6 @@ A MPU-9150 sensor must be connected to the I2C bus.
'''
from pyb import I2C
from pyb import Pin
import os
import pyb

2
tests/wipy/spi.py

@ -3,9 +3,7 @@ SPI test for the CC3200 based boards.
'''
from pyb import SPI
from pyb import Pin
import os
import pyb
machine = os.uname().machine
if 'LaunchPad' in machine:

Loading…
Cancel
Save