]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/board/udoo_x86ultra.py
remove unnecessary function bodies
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / board / udoo_x86ultra.py
index d0cb8f06b8413982301942265d240ad030a3060c..a4bf1ce644ae18c71e40c38d285e65f187e492ec 100644 (file)
@@ -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