2023-11-27 23:15:41 +08:00
|
|
|
/*
|
2024-01-28 21:02:26 +08:00
|
|
|
* Copyright (c) 2006-2024, RT-Thread Development Team
|
2023-11-27 23:15:41 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
2024-01-28 21:02:26 +08:00
|
|
|
* 2024-01-25 ShichengChu first version
|
2023-11-27 23:15:41 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <Arduino.h>
|
|
|
|
|
|
|
|
void setup(void)
|
|
|
|
{
|
|
|
|
/* put your setup code here, to run once: */
|
2024-01-28 21:02:26 +08:00
|
|
|
Serial2.begin();
|
|
|
|
Serial2.println("Hello RTduino!");
|
2023-11-27 23:15:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
void loop(void)
|
|
|
|
{
|
|
|
|
/* put your main code here, to run repeatedly: */
|
2024-01-28 21:02:26 +08:00
|
|
|
delay(1000);
|
2023-11-27 23:15:41 +08:00
|
|
|
}
|