From ebd10f1ad6c27e6ab59dab9f1d040d09478f9fe7 Mon Sep 17 00:00:00 2001 From: Kattni Date: Wed, 29 Apr 2020 16:54:36 -0400 Subject: [PATCH] Update board.I2C() --- examples/gps_simpletest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gps_simpletest.py b/examples/gps_simpletest.py index 72c9424..9c2e4dc 100644 --- a/examples/gps_simpletest.py +++ b/examples/gps_simpletest.py @@ -18,7 +18,7 @@ uart = busio.UART(board.TX, board.RX, baudrate=9600, timeout=10) # uart = serial.Serial("/dev/ttyUSB0", baudrate=9600, timeout=10) # If using I2C, we'll create an I2C interface to talk to using default pins -# i2c = board.I2C(board.SCL, board.SDA) +# i2c = board.I2C() # Create a GPS module instance. gps = adafruit_gps.GPS(uart, debug=False) # Use UART/pyserial