🎨 Laser Ammeter followup (#22079)

Followup to #21835
This commit is contained in:
Scott Lahteine
2021-06-08 07:51:28 -05:00
committed by GitHub
parent 420d5b0b41
commit d320545066
13 changed files with 90 additions and 116 deletions

View File

@@ -26,19 +26,14 @@
#include <Wire.h>
#include <INA226.h>
#ifndef I2C_AMMETER_IMAX
#define I2C_AMMETER_IMAX .500 // Calibration range 500 Milli Amps
#endif
class Ammeter {
private:
static float scale;
static float scale;
public:
static float current;
static void init();
static float read();
static float current;
static void init();
static float read();
};
extern Ammeter ammeter;