bonjour à tous svp j'ai un problème sérieux voici que j'ai un programme et je n'arrive pas à le compiler
voici le programme
#include <PID_v1.h>
//Define Variables we'll be connecting to
double Setpoint, Input, Output;
//Specify the links and initial tuning parameters
PID myPID(&Input, &Output, &Setpoint,2,5,1, DIRECT);
void setup()
{
//initialize the variables we're linked to
Input = analogRead(0);
Setpoint = 100;
//turn the PID on
myPID.SetMode(AUTOMATIC);
}
void loop()
{
Input = analogRead(0);
myPID.Compute();
analogWrite(3,Output);
}
et il m'afffiche ceci comme code d'érreur
C:\Users\Nguesseu\Documents\Arduino\libraries\PID_v1\PID_v1.cpp: In constructor 'PID::PID(double*, double*, double*, double, double, double, int)':
C:\Users\Nguesseu\Documents\Arduino\libraries\PID_v1\PID_v1.cpp:26: error: 'millis' was not declared in this scope
C:\Users\Nguesseu\Documents\Arduino\libraries\PID_v1\PID_v1.cpp: In member function 'void PID::Compute()':
C:\Users\Nguesseu\Documents\Arduino\libraries\PID_v1\PID_v1.cpp:43: error: 'millis' was not declared in this scope
aidez moi svp