Set matrix column output speed

This commit is contained in:
fruchti 2020-07-15 22:27:00 +02:00
parent 863a720749
commit fc5f7caa14
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1 @@
260
263

View file

@ -223,6 +223,7 @@ void LED_Init(void)
GPIOA->ODR |= LED_ODR_MASK;
GPIOA->PUPDR &= ~LED_MODER_MASK;
GPIOA->OTYPER |= LED_ODR_MASK;
GPIOA->OSPEEDR |= LED_MODER_MASK;
GPIOA->MODER = (GPIOA->MODER & ~LED_MODER_MASK) | LED_MODER;
TIM3->CR1 = 0x0000;