2023-02-09 12:01:20 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2023-02-08 WangShun first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <Arduino.h>
|
|
|
|
|
|
|
|
void setup(void)
|
|
|
|
{
|
|
|
|
/* put your setup code here, to run once: */
|
2023-03-06 09:22:24 +08:00
|
|
|
pinMode(LED_BUILTIN, OUTPUT);
|
2023-02-09 12:01:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
void loop(void)
|
|
|
|
{
|
|
|
|
/* put your main code here, to run repeatedly: */
|
2023-03-06 09:22:24 +08:00
|
|
|
digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
|
|
|
|
delay(100);
|
2023-02-09 12:01:20 +08:00
|
|
|
}
|