mikrokontrollersystemer-pro.../prosjekt.X/main.c

41 lines
675 B
C
Raw Normal View History

/*
* File: main.c
* Author: Sebastian H. Gabrielli
*
* Created on March 6, 2024, 12:34 PM
*/
#include "voltage.h"
#include "uart.h"
#define RTC_PERIOD (511)
#define DELAY_TIME 1000
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include <string.h>
#include <stdbool.h>
#define F_CPU 4E6
#include <stdio.h>
#include <stdlib.h>
#include "uart.h"
#include <util/delay.h>
#include <stdint.h>
#include "themistor-temp.h"
2024-03-20 14:27:59 +00:00
#include "fan_speeeed.h"
int main() {
read_input_get_RPM();
sei();
init_uart((uint16_t)9600);
stdout = &USART_stream;
while (1) {
;
}
2024-03-06 14:36:24 +00:00
}