arduino_main.cpp 448 字节
Newer Older
L
lpy 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*
 * Copyright (c) 2006-2022, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-11-13     lpy          first version
 */

#include <Arduino.h>

void setup(void)
{
    /* put your setup code here, to run once: */
    Serial.begin();
17
    Serial.println("Hello RTduino!");
L
lpy 已提交
18 19 20 21 22
}

void loop(void)
{
    /* put your main code here, to run repeatedly: */
23
    delay(1000);
L
lpy 已提交
24
}