SHARE
TWEET

stationeer heater

Four_Wind_Badger Dec 20th, 2018 (edited) 165 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alias gas d0​
  2. alias lcd d1​
  3. alias flash d2​
  4. alias heat d3​
  5. alias cooler d4​
  6. l r0 gas Temperature​
  7. sub r2 r0 273.15
  8. trunc r1 r2​
  9. s lcd Setting r1​
  10. #branch to line b if a <= b​
  11. ble r1 30 heaton​
  12. #branch to line c if a > = b​
  13. bge r1 40 heatoff​
  14. #branch to line c if a > = b​
  15. bge r1 42 cooleron​
  16. #branch to line b if a <= b​
  17. ble r1 28 cooleroff​
  18. j 0
  19. heaton:
  20. s heat On 1
  21. yield​
  22. j 0
  23. heatoff:
  24. s heat On 0
  25. yield​
  26. j 0
  27. cooleron:
  28. s cooler On 1
  29. s flash On 1
  30. yield​
  31. j 0
  32. cooleroff:
  33. s cooler On 0
  34. s flash On 0
  35. yield​
  36. j 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top