Spaces:
Running
Running
File size: 362 Bytes
96a5049 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#pragma once
#include "Arduino.h"
class FuelLearningTable {
private:
float corrections[16][16];
uint32_t cellHits[16][16];
public:
FuelLearningTable();
void reset();
bool save();
bool load();
float getCorrection(float load, float rpm);
void update(float load, float rpm, float correction);
float getProgress() const;
};
|