This repository has been archived on 2025-01-09. You can view files and clone it, but cannot push or open issues or pull requests.
pig-feeder/src/Config.h

27 lines
352 B
C++

//
// Created by kirillius on 13.06.2022.
//
#ifndef FEEDER_CONFIG_H
#define FEEDER_CONFIG_H
#include "Time.h"
#define CONFIG_EEPROM_ADDR 0x13
#define CONFIG_EEPROM_FLAG 0x24
struct Config {
public:
float vbat;
uint16_t feedTimer;
Time startTime;
float calibration;
void load();
void save();
};
#endif //FEEDER_CONFIG_H