Class: Vessel

vessel~ Vessel

A vessel can ... It emits an event ...

new Vessel(opt)

Parameters:
Name Type Description
opt Pump name and I2C pin number.

Methods


start2()

Listen to flow sensors.

stop2()

Remove all listeners

updateVolume()

Update current volume with delta. Emit event Possibly save the current volume to disk.