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.
 
 
 
 

29 lines
377 B

#include "bsp_led.h"
void L2_led_init()
{
D_HighI_P1(BITN4);
D_HighI_P4(BITN7);
GREEN_LED = LED_OFF;
BULE_LED = LED_OFF;
}
void L2_GREEN_LED_ON(void)
{
GREEN_LED = LED_ON;
BULE_LED = LED_OFF;
}
void L2_RED_LED_ON(void)
{
GREEN_LED = LED_OFF;
BULE_LED = LED_ON;
}
void L2_LED_OFF(void)
{
GREEN_LED = LED_OFF;
BULE_LED = LED_OFF;
}