Skip to content
Snippets Groups Projects
Commit 45ddfc7e authored by Alexander Mandera's avatar Alexander Mandera
Browse files

Blink works!

parent 6ac9a03b
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,8 @@ int main()
SystemInit48HSI();
// Enable GPIOs
RCC->APB2PCENR |= RCC_APB2Periph_GPIOD | RCC_APB2Periph_GPIOC;
//RCC->APB2PCENR |= RCC_APB2Periph_GPIOD | RCC_APB2Periph_GPIOC;
RCC->APB2PCENR |= RCC_APB2Periph_GPIOA;
// GPIO A15 Push-Pull
GPIOA->CFGHR &= ~((uint32_t)0x0F<<(4*7));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment