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
319 B

/*
* entryf.c
*
* Created: 23-Feb-19 18:03:36
* Author: Edwin
*/
#include "entryf.h"
#include <avr/io.h>
void ledInit()
{
DDRB |= (1 << PINB5);
PORTB &= ~(1 << PINB5);
}
void toggleLed()
{
PORTB ^= (1 << PINB5);
}
void turnOnLed()
{
PORTB |= (1 << PINB5);
}
void turnOffLed()
{
PORTB &= ~(1 << PINB5);
}