esp32 firmware for a toaster reflow oven WIP!!!!!

analog.h 381B

12345678910111213141516171819202122
  1. /**
  2. * TODO file description
  3. *
  4. * Created on 2020/01/03.
  5. */
  6. #ifndef REFLOWER_ANALOG_H
  7. #define REFLOWER_ANALOG_H
  8. #define ANALOG_SAMPLE_TIME_MS 1000
  9. #define REG_HISTORY_LEN 241
  10. extern float reg_meas_history[REG_HISTORY_LEN];
  11. extern float reg_tset_history[REG_HISTORY_LEN];
  12. extern uint32_t history_counter;
  13. void analog_init();
  14. float analog_read();
  15. #endif //REFLOWER_ANALOG_H