25.01.2021, 11:46
Hi,
is the 'DS2423 4kbit 1-Wire RAM with Counter, device supported.
Regards Johan
is the 'DS2423 4kbit 1-Wire RAM with Counter, device supported.
Regards Johan
1-wire DS2423
|
25.01.2021, 11:46
Hi,
is the 'DS2423 4kbit 1-Wire RAM with Counter, device supported. Regards Johan
25.01.2021, 12:00
It is supported, but you will have to use scripts to read/write data from/to it.
25.01.2021, 12:58
Thanks,
do you have an example to get me started. Regards Johan
25.01.2021, 13:14
First you need to find the unique ID of the 1-Wire device. It is shown in the UI or you can use a script to log all connected devices:
Code: 123 require('ow')
list = ow.list()
log(list)Read counter values (change id value to your device ID): Code: 12345 require('ow')
id = 'ABCDEF123456'
c1, err1 = ow.readfile(id, 'counters.A', true)
c2, err2 = ow.readfile(id, 'counters.B', true)
log(c1, c2, err1, err2) |
« Next Oldest | Next Newest »
|