/*
Filename: PORTB_Flash
Author: Johan Reyes
Date: 04/03/23
Description: This Program will flash the onboard LED located on PORTB pin 7
*/
#include <avr/io.h>
#include <util/delay.h>
int main(void)
{
DDRB = 0x80; //1000 0000
PORTB = 0x00;
while(1)
{
PORTB = 0x80;
_delay_ms(500);
PORTB = 0x00;
_delay_ms(500);
}
return 0;
}