Fix up WS2812 SPI driver on F072. (#13022)
This commit is contained in:
parent
35dbe8ba03
commit
597d2e0e7b
19 changed files with 61 additions and 11 deletions
|
@ -67,6 +67,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
// SPI RGB Driver
|
||||
#define WS2812_SPI SPID2
|
||||
#define WS2812_SPI_MOSI_PAL_MODE 0
|
||||
#define WS2812_SPI_SCK_PAL_MODE 0
|
||||
#define WS2812_SPI_SCK_PIN B13
|
||||
|
||||
// OLED defines
|
||||
#define OLED_TIMEOUT 60000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue