aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorTobias Jahnke <tjahnk@users.noreply.github.com>2017-07-31 15:46:42 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-08-01 11:47:14 +0200
commit1fd01df28fc2a2b0ea64f8fd569fe5f5f2d0471e (patch)
tree186ae2c0bbe278e858c0c0e073429a541791254a /htdocs
parent05e055b854e46a7bbd60b4c249ff267a000b9258 (diff)
adds processing of data to i2c_write
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/UNICENS.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/htdocs/UNICENS.html b/htdocs/UNICENS.html
index 6ea380d..1a21b41 100644
--- a/htdocs/UNICENS.html
+++ b/htdocs/UNICENS.html
@@ -32,9 +32,9 @@
</ol>
<br>
<ol>
- <li><button onclick="callbinder('UNICENS','write_i2c', {node :0x270})">Write I2C to 0x270 (mute)</button></li>
- <li><button onclick="callbinder('UNICENS','write_i2c', {node :0x271})">Write I2C to 0x271 (mute)</button></li>
- <li><button onclick="callbinder('UNICENS','write_i2c', {node :0x272})">Write I2C to 0x272 (mute)</button></li>
+ <li><button onclick="callbinder('UNICENS','write_i2c', {node_address: 0x270, i2c_data:[0x07,0x03,0xFF]})">Write I2C to 0x270 (mute)</button></li>
+ <li><button onclick="callbinder('UNICENS','write_i2c', {node_address: 0x271, i2c_data:[0x07,0x03,0xFF]})">Write I2C to 0x271 (mute)</button></li>
+ <li><button onclick="callbinder('UNICENS','write_i2c', {node_address: 0x272, i2c_data:[0x07,0x03,0xFF]})">Write I2C to 0x272 (mute)</button></li>
</ol>
<br>
<br>