Spaces:
Running
Running
File size: 369 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 IgnitionLearningTable {
private:
float corrections[16][16];
uint32_t cellHits[16][16];
public:
IgnitionLearningTable();
void reset();
bool save();
bool load();
float getCorrection(float load, float rpm);
void learn(float load, float rpm, float knockLevel);
float getProgress() const;
};
|