// Using AVR code for an Arduino Uno.
//
// This file is called "main.c".
// That should prevent that the Arduino layer is loaded.
//
// Note that the "Library Manager" can not be used,
// that is only for Arduino libraries.
#define F_CPU 16000000UL
#include <avr/io.h>
#include <util/delay.h>
int main()
{
// Set Arduino pin 13 as output
DDRB |= (1<<PB5);
while(1)
{
// Blink the led at Arduino pin 13.
PORTB |= (1<<PB5);
_delay_ms(250);
PORTB &= ~(1<<PB5);
_delay_ms(400);
}
}