Sous Vide Issues Compiling Code

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
AtrumEquus
 
Posts: 1
Joined: Wed Jan 07, 2015 11:03 pm

Sous Vide Issues Compiling Code

Post by AtrumEquus »

I'm a bit of a noob when it comes to using the Arduino but I could use some help figuring out what the issue is with setting up the code that was presented in the pdf.

Error code I received:
Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
Sous_Vidiuno_Rev1:62: error: 'PID' does not name a type
Sous_Vidiuno_Rev1:79: error: 'PID_ATune' does not name a type
Sous_Vidiuno_Rev1.ino: In function 'void setup()':
Sous_Vidiuno_Rev1:178: error: 'myPID' was not declared in this scope
Sous_Vidiuno_Rev1.ino: In function 'void Off()':
Sous_Vidiuno_Rev1:246: error: 'myPID' was not declared in this scope
Sous_Vidiuno_Rev1:246: error: 'MANUAL' was not declared in this scope
Sous_Vidiuno_Rev1:262: error: 'AUTOMATIC' was not declared in this scope
Sous_Vidiuno_Rev1.ino: In function 'void Run()':
Sous_Vidiuno_Rev1:497: error: 'myPID' was not declared in this scope
Sous_Vidiuno_Rev1.ino: In function 'void DoControl()':
Sous_Vidiuno_Rev1:573: error: 'aTune' was not declared in this scope
Sous_Vidiuno_Rev1:580: error: 'myPID' was not declared in this scope
Sous_Vidiuno_Rev1.ino: In function 'void StartAutoTune()':
Sous_Vidiuno_Rev1:639: error: 'myPID' was not declared in this scope
Sous_Vidiuno_Rev1:642: error: 'aTune' was not declared in this scope
Sous_Vidiuno_Rev1.ino: In function 'void FinishAutoTune()':
Sous_Vidiuno_Rev1:656: error: 'aTune' was not declared in this scope
Sous_Vidiuno_Rev1:661: error: 'myPID' was not declared in this scope



Got the code from: https://github.com/adafruit/Sous_Viduino
PID Library: http://playground.arduino.cc/Code/PIDLibrary version 1.0.1
PID Auto tune: http://playground.arduino.cc//Code/PIDAutotuneLibrary version 0.0.0
Onewire: http://www.pjrc.com/teensy/td_libs_OneWire.html version 2.2
DS18B20 Sensor: http://www.milesburton.com/?title=Dalla ... ary#Github version 3.7.2
RGB LCD Sheild: Got from the adafruit website I already tested a hello world it works fine.


Attached a picture showing that the zip files are in my Arduino Library
Library.PNG
Library.PNG (5.09 KiB) Viewed 404 times

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Sous Vide Issues Compiling Code

Post by adafruit_support_mike »

You need to unzip the files, rename the folders so the Arduino IDE will accept them, then move those into your sketchbook/libraries folder.

This tutorial has more information about installing libraries:

https://learn.adafruit.com/adafruit-all ... -libraries

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”