rt-thread-official/bsp/lpc55sxx/lpc55s69_nxp_evk/applications/arduino_main.cpp

26 lines
494 B
C++
Raw Normal View History

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