Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Average and Test 7
   
Award
Favorite
Favorited
Unfavorite
Microcontrollers: Calculation, Microcontroller
Tags: v1.0.32
File Size
Posted
Updated
26.152 KB
1 Feb, 2021 @ 1:40am
1 Feb, 2021 @ 10:25pm
2 Change Notes ( view )

Subscribe to download
Average and Test 7

In 1 collection by Brygun
BBW Microcontrollers
45 items
Description
Adds together seven number inputs

Divides by a property you set, so if you want the average make sure that matches the number of inputs. If you forget to update the number will be off.

The result is also put though a threshold style check that it falls withing two property numbers you set.

Example usage battery monitoring.
Connect 4 batteries.
Set property divide to 4.
Set property high 0.1 and low to -1
Send number output to a dial on the bridge.
Send logic output to a warning indicator.

Now you see the collected output and a warning if you need to get more power.


Works well with the [Average and Test 7] handling batteries and low power while my damage controller alerts for flood or fire:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2380909625
1 Comments
Brygun  [author] 1 Feb, 2021 @ 10:26pm 
Update:
Fixed logic error as last gate was OR on the conditions not AND.