#include <Arduino.h>
#include "NeuralNetwork.h"
NeuralNetwork *nn;
void setup()
{
Serial.begin(115200);
nn = new NeuralNetwork();
}
void loop()
{
float temp = random(10,100);
float humidity = random(10,90);
nn->getInputBuffer()[0] = temp;
nn->getInputBuffer()[1] = humidity;
nn->predict();
float moisture=nn->getOutput1();
float ph=nn->getOutput2();
float K=nn->getOutput3();
// const char *expected = number2 > number1 ? "True" : "False";
Serial.printf("%.2f %.2f - Predicted_moisture %.2f - Predicted_ph %.2f - Predicted_K %.2f\n", temp, humidity,moisture,ph,K);
delay(1000);
}