Link Search Menu Expand Document

API

The diozero user-facing API is provided by the following packages:

com.diozero.api
core APIs for interfacing with GPIOs, I2C, SPI and Serial devices.
com.diozero.devices
physical devices (LED, Button, Motors, …) and sensor components (BME680, MCP3008, …)
com.diozero.sbc
classes for accessing and describing the currently connected board
com.diozero.util
utilities such as CRC calculation, converting between two number ranges and calculating servo pulse durations

Table of contents