chore: make repo an Arduino collection with WeatherPredictor project
Flatten so the repo root is the Arduino sketchbook; the project lives in WeatherPredictor/. Add a collection index README at the root and move the detailed project README into WeatherPredictor/. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
struct Sample {
|
||||
uint32_t epoch;
|
||||
float mslHpa;
|
||||
float tempC;
|
||||
};
|
||||
|
||||
void historyBegin();
|
||||
void historyAdd(uint32_t epoch, float mslHpa, float tempC);
|
||||
int historyCount();
|
||||
Sample historyGet(int i); // 0 = oldest
|
||||
Sample historyLatest();
|
||||
bool historyTrendDelta(float& outDeltaHpa);
|
||||
bool historySave();
|
||||
bool historyLoad();
|
||||
Reference in New Issue
Block a user