diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,4 +1,4 @@ -#include <stm32f0xx.h> +#include "STM32F0xx.h" // Quick and dirty delay static void delay (unsigned int time) { @@ -12,12 +12,6 @@ int main (void) { // Put pin in general purpose output mode (B01) GPIOA->MODER |= GPIO_MODER_MODER4_0; - // Set the output type to push pull (B0 = default) - // GPIOA->OTYPER = ~GPIO_OTYPER_OT_4; - // Set the output speed to low (B00 = default) - // GPIOA->OSPEEDR &= ~GPIO_OSPEEDER_OSPEEDR4; - // Set the pull up/down resistors (B00 = default) - // GPIOA->PUPDR &= ~GPIO_PUPDR_PUPDR4; while (1) { // Reset the bit for port A4 |