Files @ ab94f8a0a0c6
Branch filter:

Location: HydroBot/protomodule-firmware/Inc/ph.h - annotation

matthewreed
Read analog ph sensor
#ifndef _PH_H_
#define _PH_H_

#include "stm32f0xx_hal.h"
#include <stdbool.h>
#include <led.h>
#include <protocol.h>
#include <config.h>

void ph_init(void);
void ph_update(void);
float ph_get(void);
float ph_convert(uint32_t ph_raw);

#endif /*_GPIO_H_ */