This repository has been archived on 2023-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
bl_mcu_sdk/examples/helloworld/main.c

18 lines
361 B
C

#include "bflb_mtimer.h"
#include "board.h"
#include "log.h"
int main(void)
{
board_init();
while (1) {
LOG_F("hello world\r\n");
LOG_E("hello world\r\n");
LOG_W("hello world\r\n");
LOG_I("hello world\r\n");
LOG_D("hello world\r\n");
LOG_T("hello world\r\n");
bflb_mtimer_delay_ms(1000);
}
}