"""Module for devices like expansion boards or no-name sensors which are used with a Raspberry Pi."""

from .waveshare import WaveshareADS1256

__all__ = ["WaveshareADS1256"]

# The following drivers depend on the raspberry pi specific library RPi.GPIO which requires the rpi linux kernel. To not
# hinder import of this module on mainline kernels or other SBCs we keep the import in a try block.
try:
    from .max318xx import MAX31855, MAX31865, c_v_d, c_v_d_quad
    from .dhtxx import DHTxx
    __all__ += ["MAX31855", "MAX31865", "DHTxx",  "c_v_d", "c_v_d_quad"]
except RuntimeError:
    pass

__vendor_name__ = "Raspberry Pi Compatible Components"
