We have moved at community.getvera.com

Author Topic: Danfoss LC 13 not always working. Please help.  (Read 1619 times)

Offline col8eral

  • Sr. Member
  • ****
  • Posts: 356
  • Karma: +3/-2
Re: Danfoss LC 13 not always working. Please help.
« Reply #15 on: November 28, 2017, 06:29:13 pm »
The data in the array has a key and a value. And the code gets the array entries in pairs i.e. key and value.

The key in this case is an index. So the key is 1 and the value is 55 (this being my device ID).

If you put a second value in the array it's index key would  be 2.

So you could use the key to extract a value or values from the array.
« Last Edit: November 28, 2017, 07:46:44 pm by col8eral »