Skip to content

Commit 0fdb11c

Browse files
committed
Make SHT4X defaults more interesting
1 parent e1382fa commit 0fdb11c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/circuits_sim/device/sht4x.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmodule CircuitsSim.Device.SHT4X do
1010
alias CircuitsSim.I2C.I2CDevice
1111
alias CircuitsSim.I2C.I2CServer
1212

13-
defstruct current: nil, serial_number: 0, humidity_rh: 0.0, temperature_c: 0.0
13+
defstruct current: nil, serial_number: 0x12345678, humidity_rh: 30.0, temperature_c: 22.2
1414

1515
@type t() :: %__MODULE__{
1616
current: atom(),

0 commit comments

Comments
 (0)