Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Average and Test 7
   
奖励
收藏
已收藏
取消收藏
Microcontrollers: Calculation, Microcontroller
标签: v1.0.32
文件大小
发表于
更新日期
26.152 KB
2021 年 2 月 1 日 上午 1:40
2021 年 2 月 1 日 下午 10:25
2 项改动说明 ( 查看 )

订阅以下载
Average and Test 7

在 Brygun 的 1 个合集中
BBW Microcontrollers
45 件物品
描述
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2380909625
1 条留言
Brygun  [作者] 2021 年 2 月 1 日 下午 10:26 
Update:
Fixed logic error as last gate was OR on the conditions not AND.