diff --git a/lps22hb/lps22hb_nano_33_ble.go b/lps22hb/lps22hb_nano_33_ble.go index 8329a4b..dd96167 100644 --- a/lps22hb/lps22hb_nano_33_ble.go +++ b/lps22hb/lps22hb_nano_33_ble.go @@ -11,8 +11,8 @@ import ( // Configure sets up the LPS22HB device for communication. func (d *Device) Configure() { // Following lines are Nano 33 BLE specific, they have nothing to do with sensor per se - machine.LSP_PWR.Configure(machine.PinConfig{Mode: machine.PinOutput}) - machine.LSP_PWR.High() + machine.LPS_PWR.Configure(machine.PinConfig{Mode: machine.PinOutput}) + machine.LPS_PWR.High() machine.I2C_PULLUP.Configure(machine.PinConfig{Mode: machine.PinOutput}) machine.I2C_PULLUP.High() // Wait a moment