Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void loop()
- {
- double temp = thermocouple.readCelsius();
- if(!isnan(temp)){
- Input = temp;
- }
- Input = temp;
- myPID.Compute();
- if (millis() - lastRun > pausetime)
- { //time to shift the Relay Window
- lastRun = millis();
- sendTemp(Input);
- sendOutput();
- sendInternTemp(thermocouple.readInternal());
- }
- updateOutput(Output);
- nexLoop(nex_listen_list);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement