TUTORIEL#1: Faire clignoter une LED , blink sur STM32F || STM32CUBE IDE/MX

  Рет қаралды 3,867

darkpassager

darkpassager

3 жыл бұрын

Faire clignoter une LED sur STM32F
Le code :
#include "main.h"
#include "usart.h"
#include "gpio.h"
#include "stm32f4xx_hal.h"
int LD2=0;
int LD3=0;
int B1;
void SystemClock_Config(void);
int main(void)
{
HAL_Init();
SystemClock_Config();
MX_GPIO_Init();
MX_USART2_UART_Init();
while (1)
{
HAL_GPIO_WritePin(GPIOA, LD2_Pin, GPIO_PIN_SET);
HAL_Delay(1000);
HAL_GPIO_WritePin(GPIOA, LD2_Pin, GPIO_PIN_RESET);
HAL_Delay(1000);
}
}
}

Пікірлер
How to Blink a LED | #5 STM32 GPIO output
24:41
Terminal Two
Рет қаралды 52 М.
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 6 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 97 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 16 МЛН
Turn on an LED | STM32 #8
8:42
ElectroCodeur
Рет қаралды 983
stm32 cubeMX keil blink with timer interrupt tutorial
12:52
Jose Laruta
Рет қаралды 39 М.
Getting started with STM32CUBE IDE || LED blink || F103C8
11:47
ControllersTech
Рет қаралды 107 М.
printf() over the UART using STM32
12:55
Vidura Embedded
Рет қаралды 30 М.
How to program an STM32 board with the Arduino IDE
4:57
Abstract programmer
Рет қаралды 35 М.
2. Tutorial Create New Project STM32 with STM32CubeIDE
7:52
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 50 МЛН
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 7 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 36 МЛН