lps22hb: pin rename, sync with main repo

This commit is contained in:
Yurii Soldak
2022-01-29 21:27:08 +01:00
committed by Ron Evans
parent f7dce6ae22
commit ad3ef92cfe
+2 -2
View File
@@ -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