"""Hifive Unleashed pin names"""
from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
"""Hifive Unleashed pin names"""
from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
GPIO15 = Pin(33)
# ordered as spiId, sckId, mosiId, misoId
GPIO15 = Pin(33)
# ordered as spiId, sckId, mosiId, misoId
-SPI_PORTS = ((1, SPI0_SCLK, SPI0_DOUT, SPI0_DIN))
+SPI_PORTS = (1, SPI0_SCLK, SPI0_DOUT, SPI0_DIN)
# ordered as uartId, txId, rxId
UART_PORTS = (
(0, UART0_TXD, UART0_RXD),
# (0, GPIO15, GPIO13)
# ordered as uartId, txId, rxId
UART_PORTS = (
(0, UART0_TXD, UART0_RXD),
# (0, GPIO15, GPIO13)
-# ordered as spiId, spiSCA, spiSCL
-I2C_PORTS = (
- (0, I2C0_SCA, I2C0_SCL))
+# ordered as i2cId, sclId, sdaId
+I2C_PORTS = (0, I2C0_SDA, I2C0_SCL)