Files
drivers/lps22hb/lps22hb_generic.go
deadprogram 8b3075fdba build: remove older format build tags
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-12-21 17:47:14 -05:00

12 lines
259 B
Go

//go:build !nano_33_ble
package lps22hb
import "tinygo.org/x/drivers"
// Configure sets up the LPS22HB device for communication.
func (d *Device) Configure() {
// set to block update mode
d.bus.WriteRegister(d.Address, LPS22HB_CTRL1_REG, []byte{0x02})
}