init mod05 and externalize headers
This commit is contained in:
1
module05/ex00/Makefile
Normal file
1
module05/ex00/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include ../../Makefile
|
||||
23
module05/ex00/header.h
Normal file
23
module05/ex00/header.h
Normal 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
6
module05/ex00/main.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "header.h"
|
||||
|
||||
// description
|
||||
int main() {
|
||||
while(1);
|
||||
}
|
||||
Reference in New Issue
Block a user