Files
odroid-power-mate/main/service/monitor.h
YoungSoo Shin 2dc5798b0a Apply modifications to mass-produced boards
- 3 channel power sensor ina3221
- io expander pca9557
- Some gpio moves
- ...

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-01 11:56:49 +09:00

25 lines
382 B
C

//
// Created by shinys on 25. 8. 18..
//
#ifndef ODROID_REMOTE_HTTP_MONITOR_H
#define ODROID_REMOTE_HTTP_MONITOR_H
#include <stdint.h>
#include "esp_http_server.h"
#define SENSOR_BUFFER_SIZE 100
typedef struct
{
float voltage;
float current;
float power;
uint32_t timestamp;
} sensor_data_t;
void init_status_monitor();
#endif //ODROID_REMOTE_HTTP_MONITOR_H