fixing path src
AVR Build / build (push) Failing after 2s

This commit is contained in:
Lukas
2026-04-29 16:07:30 +02:00
parent 2076c7e732
commit 51f84d1ca5
+33 -33
View File
@@ -1,34 +1,34 @@
// Version Init for CI Pipline // Version Init for CI Pipline
#define VERSION "V0.1" #define VERSION "V0.1"
#define F_CPU 8000000UL // 8 MHz clock (adjust if needed) #define F_CPU 8000000UL // 8 MHz clock (adjust if needed)
#include <avr/io.h> #include <avr/io.h>
#include <util/delay.h> #include <util/delay.h>
int main(void) int main(void)
{ {
// Set PA0 (Port A, Pin 0) as output // Set PA0 (Port A, Pin 0) as output
DDRA |= (1 << PA0); DDRA |= (1 << PA0);
while (1) while (1)
{ {
// Turn LED OFF // Turn LED OFF
PORTA |= (0 << PA0); PORTA |= (0 << PA0);
// test asdfasdf // test asdfasdf
_delay_ms(500); _delay_ms(500);
// Turn LED ON // Turn LED ON
PORTA &= ~(1 << PA0); PORTA &= ~(1 << PA0);
_delay_ms(500); _delay_ms(500);
} }
return 0; return 0;
///asdfasf ///asdfasf
//test 22 2 //test 22 2
} }