D
Deleted member 1281
Guest
What do you want to do? Turn the battery ON/OFF? Nothing easier:
You want to know if it is turned on? Readout the value of
You want the current voltage? Readout
You want to toggle battery on only after checking if it's OFF:
Etc etc.
This is the way we all had to do it before XMLTOOLS came along.
Now read the SDK for a list of K:vars, A:vars, units, operators, and reverse Polish syntax, and the world your oyster is, bool ! (joke)
Code:
(>K:TOGGLE_MASTER_BATTERY)
You want to know if it is turned on? Readout the value of
Code:
(A:ELECTRICAL MASTER BATTERY, bool)
You want the current voltage? Readout
Code:
(A:Electrical battery voltage, volts)
You want to toggle battery on only after checking if it's OFF:
Code:
(A:ELECTRICAL MASTER BATTERY, bool) ! if{ (>K:TOGGLE_MASTER_BATTERY) }
Etc etc.
This is the way we all had to do it before XMLTOOLS came along.
Now read the SDK for a list of K:vars, A:vars, units, operators, and reverse Polish syntax, and the world your oyster is, bool ! (joke)