1629 views|4 replies

407

Posts

7

Resources
The OP
 

[Distributed temperature and humidity acquisition system] + STM32H745I-FreeRTOS lighting [Copy link]

 This post was last edited by lansebuluo on 2022-7-13 12:28

The development board comes with a FreeRTOS application example, which is not used here. Instead, I downloaded it from the official website and re-ported it according to the fragmented information searched on the Internet, which went relatively smoothly.

Two tasks are used to light up the LEDs, with LED1 flashing at 1Hz and LED2 flashing at 2Hz.

static void led1_task(void * args)

{

/* Infinite loop */

for(;;)

{

HAL_GPIO_TogglePin(LED1_PORT, LED1_PIN);

vTaskDelay(500);

}

}

static void led2_task(void * args)

{

/* Infinite loop */

for(;;)

{

HAL_GPIO_TogglePin(LED2_PORT, LED2_PIN);

vTaskDelay(1000);

}

}

appendix:

PrjMain.rar (42.34 MB, downloads: 3, 售价: 1 分芯积分)

This post is from DigiKey Technology Zone

Latest reply

Can you share your experience of learning LWIP?   Details Published on 2022-7-13 16:03
 
 

6555

Posts

0

Resources
2
 

Thanks for sharing the lighting code

This post is from DigiKey Technology Zone

Comments

I am a beginner in RTOS system. I record the process and encourage myself. The next step is LWIP program. LWIP has been adjusted to a version. I need to organize the code. There are many useless files in the project. I need to simplify and reduce the size of the project folder.  Details Published on 2022-7-13 08:52
 
 
 

407

Posts

7

Resources
3
 
Jacktang posted on 2022-7-13 07:05 Thank you for sharing the lighting code

I am a beginner in RTOS system. I record the process and encourage myself. The next step is LWIP program. LWIP has been adjusted to a version. I need to organize the code. There are many useless files in the project. I need to simplify and reduce the size of the project folder.

This post is from DigiKey Technology Zone
 
 
 

6742

Posts

2

Resources
4
 

Can you share your experience of learning LWIP?

This post is from DigiKey Technology Zone

Comments

I tried to use LWIP with the system yesterday. I was able to ping but could not establish a TCP connection. I am currently debugging.  Details Published on 2022-7-14 08:50
 
 
 

407

Posts

7

Resources
5
 
wangerxian posted on 2022-7-13 16:03 Can you share your experience in learning LWIP~

I tried to use LWIP with the system yesterday. I was able to ping but could not establish a TCP connection. I am currently debugging.

This post is from DigiKey Technology Zone
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list