Jump to content


- - - - -

Recompiling and uploading issue in PCU V 3.03

issue compiling

  • Please log in to reply
2 replies to this topic

#1 Antonio

Antonio

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 30 June 2012 - 12:06 PM

Hi to all,

two months ago i got my new and fantastic PCU V 3.03. Now I'm trying to start with electronic control and datalogging.
Tried to upload the KS3_engine but when compiling I got constantly this errors:

arduino-1.0.1\libraries\PID_Beta6\PID_Beta6.cpp: In member function 'void PID::ConstructorCommon(double*, double*, double*, double, double, double)':
arduino-1.0.1\libraries\PID_Beta6\PID_Beta6.cpp:48: error: 'millis' was not declared in this scope
arduino-1.0.1\libraries\PID_Beta6\PID_Beta6.cpp: In member function 'void PID::Compute()':
arduino-1.0.1\libraries\PID_Beta6\PID_Beta6.cpp:227: error: 'millis' was not declared in this scope

Does anyone have the same problem? I didn't change anything, only want to get the standar configuration and testing my gasifier.

Thanks in advance :)

#2 bear@apl

bear@apl

    Senior Member

  • Members
  • PipPipPip
  • 106 posts

Posted 02 July 2012 - 03:46 PM

Hi Antonio,

It looks like your using Arduino 1.0. The PID_Beta6 library wasn't written for the new release. I believe the author has updated the library for Arduino 1.0, see here: http://arduino.cc/pl...Code/PIDLibrary

But the guaranteed process is to use the older Arduino 0021 since haven't yet rewritten the KSlibs and Sketch code for 1.0 and you'll likely get compile errors from those.

Hope that helps.

Cheers,
Bear

#3 Antonio

Antonio

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 04 July 2012 - 06:26 AM

View Postbear@apl, on 02 July 2012 - 03:46 PM, said:

It looks like your using Arduino 1.0. The PID_Beta6 library wasn't written for the new release. I believe the author has updated the library for Arduino 1.0, see here: http://arduino.cc/pl...Code/PIDLibrary

But the guaranteed process is to use the older Arduino 0021 since haven't yet rewritten the KSlibs and Sketch code for 1.0 and you'll likely get compile errors from those.

Hi Bear.

Thanks a lot for your indications, that was exactly what happened.

Now I'm checking working and parameters, hope in few days got some news.

Greetings,
Antonio




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users