2023-08-29 13:10:14 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
2023-12-30 18:36:19 +08:00
|
|
|
* Date Author Notes
|
|
|
|
* 2023-12-30 ChuShicheng first version
|
2023-08-29 13:10:14 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <Arduino.h>
|
|
|
|
|
|
|
|
void setup(void)
|
|
|
|
{
|
|
|
|
/* put your setup code here, to run once: */
|
2023-12-30 18:36:19 +08:00
|
|
|
Serial2.begin();
|
2023-08-29 13:10:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
void loop(void)
|
|
|
|
{
|
|
|
|
/* put your main code here, to run repeatedly: */
|
2023-12-30 18:36:19 +08:00
|
|
|
Serial2.println("Hello Arduino!");
|
2023-08-29 13:10:14 +08:00
|
|
|
delay(800);
|
|
|
|
}
|