Ignore:
Timestamp:
Feb 23, 2025, 1:25:41 PM (5 months ago)
Author:
f.jahn
Message:

LED Modul hinzugefügt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/firmware_cube/Core/Src/main.c

    r9 r10  
    2626#include "buzzer.h"
    2727#include "relais.h"
     28#include "leds.h"
    2829#include "modeswitch.h"
    2930#include "mode_mainswitch.h"
     
    132133      BUZZER_Exec();
    133134      RELAIS_Exec();
     135      LEDS_Exec();
    134136      oldTimeMSTick = HAL_GetTick();
    135137    }
     
    227229  GPIO_InitStruct.Pin = GPIO_INPUT_LVP_Pin|GPIO_INPUT_OVP_Pin;
    228230  GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
    229   GPIO_InitStruct.Pull = GPIO_PULLDOWN;
     231  GPIO_InitStruct.Pull = GPIO_PULLUP;
    230232  HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
    231233
Note: See TracChangeset for help on using the changeset viewer.