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

25 lines
448 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-10-14 liYony first version
*/
#include <Arduino.h>
void setup(void)
{
/* put your setup code here, to run once: */
Serial.begin();
2023-03-06 09:22:24 +08:00
Serial.println("Hello RTduino!");
}
void loop(void)
{
/* put your main code here, to run repeatedly: */
2023-03-06 09:22:24 +08:00
delay(1000);
}