AC_PID: fixed example sketch's compile errors

This commit is contained in:
rmackay9 2012-11-07 23:34:10 +09:00
parent 34ae673058
commit 93010fc79f
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ void setup()
void loop() void loop()
{ {
// setup (unfortunately must be done here as we cannot create a global AC_PID object) // setup (unfortunately must be done here as we cannot create a global AC_PID object)
AC_PID pid(0, PSTR("TESTPID_"), TEST_P, TEST_I, TEST_D, TEST_IMAX * 100); AC_PID pid(TEST_P, TEST_I, TEST_D, TEST_IMAX * 100);
uint16_t radio_in; uint16_t radio_in;
uint16_t radio_trim; uint16_t radio_trim;
int error; int error;