if you are using marlin firmware:
this likely will only happen when homing correct? look for the homing code sections. I think they are in marlin_main.cpp, around line 600 or so.
you do not need to worry about interrupts during homing operation of adc. you could temporarily disable them, and do a normal analog read sequence, then when code is refined and process is tested you could look at this: temperature.h
it is pretty much spelled out in the code there.
The fact that you did not know this concerns me, it tells me you have not read the code or the comments in the code. I've helped people out with such basics before just to be asked to do there work for them, so do some digging, and ask specifics!!
Edited 1 time(s). Last edit at 01/13/2014 05:17PM by jamesdanielv.