Skip to content

Commit dd9512b

Browse files
mnishiguchifhunleth
authored andcommitted
feat: replace bmp280 sim with superset bmp3xx sim
1 parent 0459132 commit dd9512b

8 files changed

Lines changed: 358 additions & 314 deletions

File tree

config/config.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ config :circuits_sim,
1212
{CircuitsSim.Device.SHT4X, bus_name: "i2c-1", address: 0x44},
1313
{CircuitsSim.Device.VEML7700, bus_name: "i2c-1", address: 0x48},
1414
{CircuitsSim.Device.SGP30, bus_name: "i2c-1", address: 0x58},
15-
{CircuitsSim.Device.BMP280, bus_name: "i2c-1", address: 0x76},
16-
{CircuitsSim.Device.BMP280, bus_name: "i2c-1", address: 0x77},
15+
{CircuitsSim.Device.BMP3XX, bus_name: "i2c-1", address: 0x77},
1716
{CircuitsSim.Device.TM1620, bus_name: "spidev0.0", render: :binary_clock},
1817
{CircuitsSim.Device.GPIOLED, pin_spec: 10},
1918
{CircuitsSim.Device.GPIOButton, pin_spec: 11}

lib/circuits_sim/device/bmp280.ex

Lines changed: 0 additions & 126 deletions
This file was deleted.

lib/circuits_sim/device/bmp280/register.ex

Lines changed: 0 additions & 111 deletions
This file was deleted.

0 commit comments

Comments
 (0)