Source code for hub.board
"""Advanced: technical details about the hub's circuit board.
Most programs never need this. It tells you which parts this hub has
(for example ``HAS_AUDIO`` is ``1`` when there is a speaker) and which
pins and buses they use. Pin and bus numbers can be passed straight to
``machine.Pin`` and ``hub.i2c``. A value of ``-1`` means "not on this
board".
"""
# Identity
"""Name of this hub model."""
"""Hardware version of this hub."""
# I2C buses
# SPI buses
# UART buses
# PCA9685
# SC16IS750
# BNO085
# LSM6DSL
# ST7735
# MCPWM
# Power
# Buttons
# LCD
"""``1`` if this hub has a screen."""
# Audio amplifier
"""``1`` if this hub has a speaker (needed for ``hub.audio``)."""
# IMU
# RGB LED
# Battery / charger
# LPF2 ports
# SD card
"""``1`` if this hub has an SD card slot."""