esp32 firmware for a toaster reflow oven WIP!!!!!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
reflower/main/analog.h

24 lines
402 B

/**
* TODO file description
*
* Created on 2020/01/03.
*/
#ifndef REFLOWER_ANALOG_H
#define REFLOWER_ANALOG_H
#include <stdint.h>
5 years ago
#define ANALOG_SAMPLE_TIME_MS 1000
#define REG_HISTORY_LEN 241
extern float reg_meas_history[REG_HISTORY_LEN];
extern float reg_tset_history[REG_HISTORY_LEN];
extern uint32_t history_counter;
void analog_init();
float analog_read();
#endif //REFLOWER_ANALOG_H