0

Having Coding issues for my DIY Reflow Oven
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Having Coding issues for my DIY Reflow Oven

by thorhammer on Thu Feb 27, 2014 8:55 pm

Hi everybody!
I am new to electronics and especially to Arduino... I thought the best way to get better
at both of these was to tackle a easy Arduino controlled Reflow Oven for a class project.
I purchased the MAX31855 breakout board and wired up the thermocouple... Using the
example code that adafruit generously put together, the whole thing worked great for reading
temperatures! We are learning about PID in my Instrumentation course and I thought it
would be cool to implement a Relay and Brett's cool PID library in conjunction with my
Thermocouple... Problem is... I cant verify/compile the code!
I keep getting a error "thermocouple was not declared in this scope"--

In reference to "input = thermocouple.readCelsius();"

nextRead += SENSOR_SAMPLING_TIME;
// Read current temperature
#ifdef USE_Adafruit_MAX31855
input = thermocouple.readCelsius();
#else


Anybody else run into this?
...I can post all and any code required to give a bigger picture...
Thanks to anyone who can help me!

thorhammer
 
Posts: 1
Joined: Mon Dec 30, 2013 3:52 pm

Re: Having Coding issues for my DIY Reflow Oven

by adafruit_support_bill on Thu Feb 27, 2014 9:07 pm

If you can post your complete code, we might be able to reproduce the problem.

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.