25 lines
474 B
C++
25 lines
474 B
C++
|
/*
|
||
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2021-12-10 Meco Man first version
|
||
|
* 2023-05-30 shiwa ES32VF2264
|
||
|
*/
|
||
|
#include <Arduino.h>
|
||
|
|
||
|
void setup(void)
|
||
|
{
|
||
|
pinMode(LED_BUILTIN, OUTPUT);
|
||
|
}
|
||
|
|
||
|
void loop(void)
|
||
|
{
|
||
|
/* put your main code here, to run repeatedly: */
|
||
|
digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
|
||
|
delay(250);
|
||
|
}
|
||
|
|