HAND
Dependencies: mbed BMI160 MLX90614 max32630fthr Adafruit_FeatherOLED MAX30100
functions.h
00001 #include "mbed.h" 00002 00003 void turnON(); 00004 void reboot(); 00005 void messdaten_count(); 00006 void set_time(); 00007 int set_app_time(unsigned long device_time); 00008 void write_to_sd_log_single(char log_string[]); 00009 void write_to_sd_messdaten_single(float buffer_temp, struct timestamp current); 00010 void write_to_sd_messdaten_all(float *buffer_temp, struct timestamp *current); 00011 void get_save_Messpunkt(float temperatur); 00012 float get_Messwert(); 00013 int create_file_messdaten(); 00014 int create_file_log(); 00015 int min_max_avr(); 00016 int delete_file_messdaten(); 00017 int delete_file_log(); 00018 int file_copy(const char *src, const char *dst); 00019 int load_user_config(); 00020 int load_standard_config(); 00021 int read_id(); 00022 int create_user_config(char params[]); 00023 void led_blink(int led, int anzahl, int lang, int pause); 00024 void error_handler(int error); 00025 void onBeatDetected(); 00026 bool setup(); 00027 void updateMAX30100 (); 00028 void loop(); 00029 int check_devices(); 00030 void mess_handler(); 00031 int RTC_check(); 00032 void max14690_init(); 00033 void init(); 00034 00035 struct user_config_struct 00036 { 00037 int interval; 00038 int alert; 00039 int minimum; 00040 int maximum; 00041 int wait_mode; 00042 int pre_delay; 00043 int advertise; 00044 int connected; 00045 };
Generated on Wed Jul 27 2022 23:42:13 by 1.7.2