init mod05 and externalize headers

This commit is contained in:
hugo LAMY
2025-03-12 15:27:20 +01:00
parent e29965c502
commit 3a4aa32434
9 changed files with 191 additions and 1 deletions

1
module05/ex00/Makefile Normal file
View File

@@ -0,0 +1 @@
include ../../Makefile

23
module05/ex00/header.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef HEADER_H
#define HEADER_H
#include <avr/io.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include "utils.h"
#include "bitmanip.h"
#include "interrupt.h"
#include "timer.h"
#include "usart.h"
//
// PROTOTYPES
//
// main.c
//
// MACROS
//
#endif // HEADER_H

6
module05/ex00/main.c Normal file
View File

@@ -0,0 +1,6 @@
#include "header.h"
// description
int main() {
while(1);
}