rt-thread/bsp/stm32/stm32f401-st-nucleo/applications/arduino_main.cpp

24 lines
429 B
C++
Raw Normal View History

/*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2022-04-19 Meco Man first version
*/
#include <Arduino.h>
void setup(void)
{
/* put your setup code here, to run once: */
}
void loop(void)
{
/* put your main code here, to run repeatedly: */
2022-05-01 12:24:35 +08:00
Serial.println("Hello Arduino!\n");
delay(800);
}