Commit 3e8dd65e authored by tsharith's avatar tsharith
Browse files

Update hotend_temp.v with latest used code

parent 97dd55e3
......@@ -141,14 +141,14 @@ module hotend_temp(
if(auto)
begin
radiatorFan <= 1;
if ( ( count < heatingSP) && (thermistor < eshutoff) )
if ( ( count < (thermistor - heatingSP + sensitivity)) && (thermistor < eshutoff) )
heatingSwitch <= 1;
else
heatingSwitch <= 0;
end
if (count == 1000000)
count <= count + 1;
count <= 0;
else
count <= count + 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment