Accessor: devices/EcSensor

devices/EcSensor

Retrieves the latest electric current (EC) measurement from your garden

This accessor does not block waiting for the response, but if any additional symbol input is received before a pending request has received a response or timed out, then the new request will be queued and sent out only after the pending request has completed. This strategy ensures that outputs are produced in the same order as the input requests.

This accessor requires the optional 'httpClient' module, which may or may not be provided by an accessor host. Most hosts will provide this module.

Version:
  • $$Id$$
Author:
  • Matt Weber (matt.weber@eecs.berkeley.edu)
Source:
Inputs:
Name Type Description
trigger An input to trigger data acqusition.
Outputs:
Name Type Description
ec number The latest measured ec value.

Methods

(static) filterResponse()

Filter the response, extracting the ed information. The full response is produced on the 'response' output.

Source:

(static) initialize()

Initialize the accessor by attaching an input handler to the symbol input.

Source:

(static) setup()

Set up the accessor by defining the inputs and outputs.

Source: