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>
This commit is contained in:
@@ -9,17 +9,16 @@
|
||||
|
||||
#include "esp_http_server.h"
|
||||
|
||||
// 버퍼에 저장할 데이터의 개수
|
||||
#define SENSOR_BUFFER_SIZE 100
|
||||
|
||||
// 단일 센서 데이터를 저장하기 위한 구조체
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
float voltage;
|
||||
float current;
|
||||
float power;
|
||||
uint32_t timestamp; // 데이터를 읽은 시간 (부팅 후 ms)
|
||||
uint32_t timestamp;
|
||||
} sensor_data_t;
|
||||
|
||||
void init_status_monitor();
|
||||
|
||||
#endif //ODROID_REMOTE_HTTP_MONITOR_H
|
||||
#endif //ODROID_REMOTE_HTTP_MONITOR_H
|
||||
|
||||
Reference in New Issue
Block a user