summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pico/RP2040/applications/arduino_main.cpp
blob: 25169bef769c451d39e2aa2fe439db88f9e4bf3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2006-2024, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-01-25     ShichengChu  first version
 */

#include <Arduino.h>

void setup(void)
{
    /* put your setup code here, to run once: */
    Serial2.begin();
    Serial2.println("Hello RTduino!");
}

void loop(void)
{
    /* put your main code here, to run repeatedly: */
    delay(1000);
}