HAND

Dependencies:   mbed BMI160 MLX90614 max32630fthr Adafruit_FeatherOLED MAX30100

functions.h

Committer:
condato_mbed
Date:
2021-11-03
Revision:
1:774d50d6f9d6
Parent:
0:d36fd4cabb70

File content as of revision 1:774d50d6f9d6:

#include "mbed.h"

void turnON();
void reboot();
void messdaten_count();
void set_time();
int set_app_time(unsigned long device_time);
void write_to_sd_log_single(char log_string[]);
void write_to_sd_messdaten_single(float buffer_temp, struct timestamp current);
void write_to_sd_messdaten_all(float *buffer_temp, struct timestamp *current);
void get_save_Messpunkt(float temperatur);
float get_Messwert();
int create_file_messdaten();
int create_file_log();
int min_max_avr();
int delete_file_messdaten();
int delete_file_log();
int file_copy(const char *src, const char *dst);
int load_user_config();
int load_standard_config();
int read_id();
int create_user_config(char params[]);
void led_blink(int led, int anzahl, int lang, int pause);
void error_handler(int error);
void onBeatDetected();
bool setup();
void updateMAX30100 ();
void loop();
int check_devices();
void mess_handler();
int RTC_check();
void max14690_init();
void init();

struct user_config_struct 
{
    int interval;
    int alert;
    int minimum;
    int maximum;
    int wait_mode;
    int pre_delay;
    int advertise;
    int connected;
};