pressure_valve

Vars | |
frequency | Frequency for radio signaling |
---|---|
id | ID for radio signaling |
is_gas_flowing | Check if the gas is moving from one pipenet to the other |
radio_connection | Connection to the radio processing |
target_pressure | Amount of pressure needed before the valve for it to open |
Procs | |
broadcast_status | Called in atmosinit(), send the component status to the radio device connected |
set_frequency | Called in atmosinit(), used to change or remove the radio frequency from the component Arguments: |
Var Details
frequency

Frequency for radio signaling
id

ID for radio signaling
is_gas_flowing

Check if the gas is moving from one pipenet to the other
radio_connection

Connection to the radio processing
target_pressure

Amount of pressure needed before the valve for it to open
Proc Details
broadcast_status
Called in atmosinit(), send the component status to the radio device connected
set_frequency
Called in atmosinit(), used to change or remove the radio frequency from the component Arguments:
- -new_frequency: the frequency that should be used for the radio to attach to the component, use 0 to remove the radio