X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/8a3f42530b62b077309ec92295cb2ea95a54e05c..refs/heads/micropython-pyi:/src/adafruit_blinka/board/udoo_x86ultra.py diff --git a/src/adafruit_blinka/board/udoo_x86ultra.py b/src/adafruit_blinka/board/udoo_x86ultra.py index d0cb8f0..a4bf1ce 100644 --- a/src/adafruit_blinka/board/udoo_x86ultra.py +++ b/src/adafruit_blinka/board/udoo_x86ultra.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries +# +# SPDX-License-Identifier: MIT """Pin definitions for Udoo x86 Ultra (should work for Ultra and Ultra II) @@ -9,6 +12,11 @@ The other is based on the hardware manual: https://udoo.org/download/files/UDOO_X86/Doc/UDOO_X86II_MANUAL.pdf This will use the D system based on the diagram in the user guide + +i2c use i2c(board.I2C0_SCL, board_I2C0_SDA) or i2c(board.I2C1_SCL, board_I2C1_SDA) +for the i2c(board.SCL, board.SCL) in the examples + +UART use pyserial not busio """ from adafruit_blinka.microcontroller.pentium.n3710 import pin @@ -58,8 +66,8 @@ UART1_TX = D18 UART2_RX = D23 UART2_TX = D22 -I2C0_SCL = D34 # labeled on diagram as I2C1, hardware manual port 0 -I2C0_SDA = D35 # i2cdetect-l lists it as i2c-0 +I2C0_SCL = D34 # labeled on diagram as I2C1, hardware manual port 0 +I2C0_SDA = D35 # i2cdetect-l lists it as i2c-0 -I2C1_SCL = D38 # Labeled on diagram as I2C2, hardware manual port 5 -I2C1_SCL = D39 # i2cdetect lists it as i2c-1 +I2C1_SCL = D38 # Labeled on diagram as I2C2, hardware manual port 5 +I2C1_SCL = D39 # i2cdetect lists it as i2c-1