11 lines
148 B
C
11 lines
148 B
C
|
#include "led.h"
|
||
|
#include <avr/io.h>
|
||
|
|
||
|
void led(uint8_t on) {
|
||
|
if (on) {
|
||
|
LED_PORT |= (1 << LED_PIN);
|
||
|
} else {
|
||
|
LED_PORT &= ~(1 << LED_PIN);
|
||
|
}
|
||
|
}
|