mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-03 14:37:46 +00:00
lps22hb: pin rename, sync with main repo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user