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

25 lines
448 B
C++
Raw Normal View History

2023-03-24 02:07:13 +08:00
/*
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2023-03-23 Meco Man first version
*/
#include <Arduino.h>
void setup(void)
{
/* put your setup code here, to run once: */
Serial.begin();
Serial.println("Hello RTduino!");
}
void loop(void)
{
/* put your main code here, to run repeatedly: */
delay(1000);
}