You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
522 B

#ifndef _LED_H_
#define _LED_H_
#include "hic.h"
#include "basic_type.h"
#include "io_config.h"
#include "t21_t8.h"
#define configDebugLightFlipPeriodMS 300
#define DEBUG_LIGHT_IO() PB4
#define led_on debug_led_port &=~(0x01<<4)
#define led_off debug_led_port |=(0x01<<4)
#define beep_off beep_port &=~(0x01<<0)
#define beep_on beep_port |=(0x01<<0)
void led_config(void);
void beep_config(void);
void jerk_key_config(void);
void debug_light_ctrl_process_in_main_loop();
#endif