L9779WD driver L9779 #3768

most important detail
This commit is contained in:
rusefillc 2022-02-09 15:22:27 -05:00
parent 41888da4ee
commit f086fb8e14
1 changed files with 4 additions and 0 deletions

View File

@ -373,11 +373,15 @@ void setL9779TestConfiguration() {
// enable_spi 3
engineConfiguration->is_enabled_spi_3 = true;
// Wire up spi3
// green
engineConfiguration->spi3mosiPin = GPIOB_5;
// blue
engineConfiguration->spi3misoPin = GPIOB_4;
// white
engineConfiguration->spi3sckPin = GPIOB_3;
engineConfiguration->l9779spiDevice = SPI_DEVICE_3;
// orange
engineConfiguration->l9779_cs = GPIOD_5;
}