16 lines
252 B
C
16 lines
252 B
C
#ifndef LED_H
|
|
#define LED_H
|
|
|
|
#include "device/gpio.h"
|
|
//上电指示灯
|
|
extern int led_status;
|
|
#define LED_PIN IO_PORTH_06
|
|
|
|
//
|
|
#define LAMP_WARM_GPIO IO_PORTC_01
|
|
#define LAMP_COOL_GPIO IO_PORTC_02
|
|
|
|
void led_init(void);
|
|
void pwm_init(void);
|
|
|
|
#endif |