Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias GasSensor d0
- alias AVTepl d1
- alias LEDSmall d2
- alias Temp r15
- alias Press r14
- alias AVMode r13
- alias AVOn r12
- define Zero 273.15 #Kelvin to Celcius
- define MaxPress 50 #KPa
- define MaxTemp 30 #Celcius
- start:
- l Temp GasSensor Temperature
- l Press GasSensor Pressure
- sub Temp Temp Zero
- bdseal LEDSmall ledoutput
- yield
- sge AVOn Temp MaxTemp
- s AVTepl On AVOn
- sle AVMode Press MaxPress
- s AVTepl Mode AVMode
- j start
- ledoutput:
- s LEDSmall Color 3
- round Temp Temp
- s LEDSmall Setting Temp
- yield
- s LEDSmall Color 6
- round Press Press
- s LEDSmall Setting Press
- j ra
Add Comment
Please, Sign In to add comment