day00/ex01/main.c

14 lines
192 B
C
Raw Normal View History

#include <avr/io.h>
#define LED_PORT PORTB0
int main(void) {
// set pin to output
DDRB |= (_BV(LED_PORT));
// say to pull high the pin
PORTB |= (_BV(LED_PORT));
while (1)
;
}