/*
 * gpio/src/led_init.c
 * led's pins initializations 
 * author hugo
 */

#include <gpio/include/gpio.h>

void led2_init(void)
{
    TRISAbits.TRISA4 = 0;
}  

void led3_init(void)
{
    TRISA &= 0b11011111;
} 

void led4_init(void)
{
    TRISA &= 0xBF;
} 

void led5_init(void)
{
    #asm
    banksel TRISA
    bcf TRISA,7
    #endasm
} 