getFeed()
getFeed(id | name) → number
Get custom feed value
Custom feeds can be used to log or visualise computed values from logic script. They can be read and written from the onboard web interface and viewed from the onboard display.
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| id | number | string | yes | — | ID of the custom feed to query. Can also supply a case insensitive string |
Returns
number | bool
Current custom feed value
Example
let value = getFeed(0);