Realimentation Control

Whats others type control ? Arduino have PID..., big bytes add in memory.

Have others, code control... intermediate ON-OFF / PID ?
I thinks..., help complete code or find good solution

if(antes_temp[0] || antes_temp[1] || antes_temp[2] != 0){ //after read third

if(antes_temp[0] + antes_temp[1] < 2settemp) a=-10;//variable down small
if(antes_temp[1] + antes_temp[2] < 2
settemp) a=-100;//variable down
if(antes_temp[0] + antes_temp[1] > 2settemp) a=+10;//variable up small
if(antes_temp[1] + antes_temp[2] > 2
settemp) a=+100;//variable up
if(antes_temp[0] + antes_temp[1] + antes_temp[2] > 3settemp) a=+1000;//variable big up
if(antes_temp[0] + antes_temp[1] + antes_temp[2] < 3
settemp) a=-1000;//variable big down

if(antes_temp[0] == antes_temp[1] ) a=7;//variable ESTABLE GOOD
if(antes_temp[1] == antes_temp[2] ) a=3;//variable ESTABLE BEST
if(antes_temp[0] == antes_temp[1] == antes_temp[2] ) a=2;//Variable ESTABLE - FIX
}

antes_temp[0]=antes_temp[1];
antes_temp[1]=antes_temp[2];
antes_temp[0]=now_temperature;

Call function actionc control output

To the best of my knowledge,

Realimentation

is not in common use in English.

if(antes_temp[0] || antes_temp[1] || antes_temp[2] != 0){ probably doesn't do what you think it does.

Can you get soemone to help to ask your question in a way that we can understand?