aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorTobias Jahnke <tjahnk@users.noreply.github.com>2017-07-31 11:46:47 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-08-01 11:47:14 +0200
commit05e055b854e46a7bbd60b4c249ff267a000b9258 (patch)
tree62c2a055244f5692818da79dd1d0775837c9fc61 /htdocs
parent41d1d8957f7bc7154e0abb2c276ee4ca52409a56 (diff)
adds experimental i2cwrite command
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/UNICENS.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/htdocs/UNICENS.html b/htdocs/UNICENS.html
index fc13d34..6ea380d 100644
--- a/htdocs/UNICENS.html
+++ b/htdocs/UNICENS.html
@@ -23,12 +23,21 @@
<li><button onclick="callbinder('unicens','volume', {channel:'master', volume: 200})">Set Master Volume to 200</button></li>
<li><button onclick="callbinder('unicens','volume', {channel:'master', volume: 185})">Set Master Volume to 185</button></li>
<li><button onclick="callbinder('unicens','volume', {channel:'master', volume: 0})">Set Master Volume to 0</button></li>
+ </ol>
<br>
+ <ol>
<li><button onclick="callbinder('UNICENS','volume', [[0,200], [1,255]])">Set left=200 right=250</button></li>
<li><button onclick="callbinder('UNICENS','volume', [[0,255], [1,200]])">Set right=250 left=200</button></li>
<li><button onclick="callbinder('UNICENS','volume', [[0,255], [1,255]])">Set right=255 left=255</button></li>
</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>
+ </ol>
+ <br>
+ <br>
<div id="main" style="visibility:hidden">
<ol>
<li>Question <pre id="question"></pre>