TXT
Smart Home
Dock the following program excerpt on output P.
Before displaying the currently measured atmospheric pressure, the
point needs to move to the 0 point (pushbutton). This is accomplished
in the subroutine "PosEm". When this is closed mechanically by the
pointer, the program moves to the actual measured point and indicates
the currently measured atmospheric pressure or applicable weather
symbol.
The atmospheric pressure is measured anew every 3 seconds. If
the atmospheric pressure changes, the new value is checked by the
subroutine PosEMD. If the atmospheric pressure increases or decreases,
the program moves the pointer accordingly.
After completing the program, you can test it and save it on your
computer.
Finished Program: Barometer_1.rpp
ROBOTICS
The values logged in the subroutine "Calculate_
Pos" are processed. The pointer position is
calculated in the subroutine "PosX".
36
Robotics Sensor Station IoT
Need help?
Do you have a question about the ROBOTICS TXT Smart Home and is the answer not in the manual?
Questions and answers