P5 initial

This commit is contained in:
S170H
2024-01-20 22:27:43 +01:00
parent 237e085b51
commit 6655d01102
26 changed files with 1132 additions and 453 deletions

12
Abgaben/P4/sevenseg.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef SEVENSEG_H_
#define SEVENSEG_H_
#define F_CPU 16000000UL // 16MHz clock frequency
#include <util/delay.h>
#include <avr/interrupt.h>
#include "avr/io.h"
uint32_t getSystemClock();
void waitFor(uint32_t ms);
void display();
#endif /* SEVENSEG_H_ */