-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi @cparata
it seems the library does not follows the standard Arduino SPI API as the CS_PIN
is passed to begin()
X-NUCLEO-53L8A1/examples/X_NUCLEO_53L8A1_HelloWorld_SPI/X_NUCLEO_53L8A1_HelloWorld_SPI.ino
Line 86 in 89e0493
DEV_SPI.begin(CS_PIN); |
Line 88 in 89e0493
DEV_SPI.begin(CS_PIN); |
Line 94 in 89e0493
DEV_SPI.begin(CS_PIN); |
Since I've aligned the API, the library cannot build.
stm32duino/Arduino_Core_STM32#2171
Anyway without this change, I think the CS_PIN is not required here as the VL53L8CX library manage itself the CS pin
https://github.com/stm32duino/VL53L8CX/blob/7656f3dbe704aa7d40383bde1a877918613317aa/src/platform.cpp#L131C19-L134
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done