13 lines
192 B
C
13 lines
192 B
C
#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)
|
|
;
|
|
}
|