Welcome! Log In Create A New Profile

Advanced

Analog Read in Marlin - Right Way Too Read

Posted by jasane 
Analog Read in Marlin - Right Way Too Read
January 19, 2016 03:09PM
I have to read analog inputs with marlin, but when i use analogRead i figured out that it changes, for same strange reason, the temperature of the nozzle.
I tried to use READ, but this function is only Digital and i need to read it analog.
I'm using A3 and A4 that aren't being used with ramps
HOw to do this?
Re: Analog Read in Marlin - Right Way Too Read
January 20, 2016 03:06AM
ADC readings are in the temperature.cpp. AnalogRead don't work because Marlin starts a conversion in the first step and read it in the next step. The analogread straddles between.


Triffid Hunter's Calibration Guide --> X <-- Drill for new Monitor Most important Gcode.
Sorry, only registered users may post in this forum.

Click here to login