summaryrefslogtreecommitdiff
path: root/bsp/sparkfun-redv/applications/led/led.h
blob: 620da43bc67bdce9ef316581d2dd206961695504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author            Notes
 * 2020-10-28     luhuadong         first version
 */

#ifndef __LED_H__
#define __LED_H__

#define LED_ON          1
#define LED_OFF         0

void led_init(void);
void led_set(rt_uint8_t val);
void led_toggle(void);

#endif /* __LED_H__ */