Skip to content

Add basic SPI support #54

Description

@SzigetiJ

Refactor the BME280 driver: split the existing driver into communication and utility (task / procedural) layers, where the comm layer can be either I²C or SPI.

Implement the SPI communicaton layer for BME280: put the generic SPI part into spi.h, spi.c and the BME280-specific part into bme280spi.h, bme280spi.c.

Create 1spibme280 example. (And move the existing example 1bme280 into 1i2cbme280.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestexampleExample related issue

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions