Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_featherwing/gps_featherwing.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
__version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git"

import board
import busio
import adafruit_gps
from adafruit_featherwing import shared

class GPSFeatherWing:
"""Class representing an `Ultimate GPS FeatherWing
Expand All @@ -54,7 +54,7 @@ def __init__(self, update_period=1000, baudrate=9600):
if timeout < 3:
timeout = 3

self._uart = busio.UART(shared.TX, shared.RX, baudrate=baudrate, timeout=timeout)
self._uart = busio.UART(board.TX, board.RX, baudrate=baudrate, timeout=timeout)
self._gps = adafruit_gps.GPS(self._uart, debug=False)
# Turn on the basic GGA and RMC info
self._gps.send_command(bytes('PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0', 'utf-8'))
Expand Down
3 changes: 0 additions & 3 deletions adafruit_featherwing/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,3 @@
import busio

I2C_BUS = busio.I2C(board.SCL, board.SDA)

RX = board.RX
TX = board.TX