BoskoopBase/embadet/main/apple.h
2024-10-13 23:51:32 +02:00

26 lines
No EOL
441 B
C

#ifndef APPLE_H
#define APPLE_H
#include <esp_log.h>
#include <stdio.h>
#include <time.h>
#include <onewire.h>
#include <ds18b20.h> // Die Header-Datei mit DS18B20-Funktionen
#include <task.h>
#include <esp_wifi.h>
#include <FreeRTOSConfig.h>
struct appledata{
uint8_t mac[6];
float temp;
float battaryVoltage;
int upTime;
};
float getTemp();
int getUpTime();
void getmac(uint8_t *buf);
#endif