Files
the-waterinator/firmware/atmega/include/moisture.h
T
2025-05-16 09:22:34 +02:00

15 lines
251 B
C

#ifndef MOISTURE_H
#define MOISTURE_H
#include <stdint.h>
#include <stdbool.h>
void sensorsInit(void);
void triggerMoistureRead(void);
int16_t moistureAverage(int8_t sensorPin);
int16_t moistureRead(void);
extern volatile bool readSensors;
#endif