2017-02-15 19:48:31 +01:00
|
|
|
#include "mesure.h"
|
2017-02-08 00:45:16 +01:00
|
|
|
|
|
|
|
|
2017-02-09 14:12:10 +01:00
|
|
|
float target_curent = 0.05;//ma
|
2017-02-15 19:48:31 +01:00
|
|
|
courant collecteur(3,A0,A1,820);
|
2017-02-08 00:45:16 +01:00
|
|
|
|
|
|
|
void setup()
|
|
|
|
{
|
|
|
|
Serial.begin(9600);
|
|
|
|
}
|
|
|
|
|
|
|
|
void loop()
|
|
|
|
{
|
2017-02-15 19:48:31 +01:00
|
|
|
Serial.println(collecteur.lireCourant());
|
|
|
|
delay(500);
|
2017-02-15 06:44:18 +01:00
|
|
|
}
|