1
0
Fork 0

Fix up WS2812 SPI driver on F072. (#13022)

This commit is contained in:
Nick Brassel 2021-06-03 09:48:16 +10:00 committed by GitHub
parent 35dbe8ba03
commit 597d2e0e7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 61 additions and 11 deletions

View file

@ -100,6 +100,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI SPID2 // default: SPID1
#define WS2812_SPI_MOSI_PAL_MODE 0 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5
#define WS2812_SPI_SCK_PAL_MODE 0
#define WS2812_SPI_SCK_PIN B13
#define RGB_DI_PIN B15
#ifdef RGB_DI_PIN