Skip to content

Commit

Permalink
Merge pull request #3 from cparata/main
Browse files Browse the repository at this point in the history
Fix issues on SPI begin
  • Loading branch information
cparata committed Nov 10, 2023
2 parents 89e0493 + 65ada6d commit 8e11f7a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void setup()
SerialPort.begin(460800);

// Initialize SPI bus.
DEV_SPI.begin(CS_PIN);
DEV_SPI.begin();

// Configure VL53L8CX component.
sensor_vl53l8cx_top.begin();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void setup()
SerialPort.begin(460800);

// Initialize SPI bus.
DEV_SPI.begin(CS_PIN);
DEV_SPI.begin();

// Enable PWREN top pin if present
if (PWREN_TOP_PIN >= 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void setup()
SerialPort.begin(460800);

// Initialize SPI bus.
DEV_SPI.begin(CS_PIN);
DEV_SPI.begin();

// Set interrupt pin
pinMode(INT_PIN, INPUT_PULLUP);
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=STM32duino X-NUCLEO-53L8A1
version=1.0.0
version=1.0.1
author=STMicroelectronics
maintainer=stm32duino
sentence=Allows controlling the VL53L8CX sensors on board of X-NUCLEO-53L8A1
Expand Down

0 comments on commit 8e11f7a

Please sign in to comment.