livebox:hah_hahnode:outputnode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
livebox:hah_hahnode:outputnode [2015/01/24 23:21] brettlivebox:hah_hahnode:outputnode [2015/02/03 09:47] – [Debugging] brett
Line 5: Line 5:
 {{:livebox:output-node-sequence-diagram.png|}} {{:livebox:output-node-sequence-diagram.png|}}
  
-Snippet of configuration information needed in the jeenodeApplet.lua source.+Snippet of configuration information needed in the jeenodeApplet.lua source.  Here we are sending to an RF node configured as unit 7.
 <code> <code>
 OutputNode = require("xap.outputnode") OutputNode = require("xap.outputnode")
  
 local nodes = { local nodes = {
-  [ID]=OutputNode{instance="jeenode:attic",endpoints={p1=1,p2=1,p3=1,p4=1}}+  [7]=OutputNode{instance="jeenode:attic",endpoints={p1=1,p2=1,p3=1,p4=1}}
 } }
 </code> </code>
Line 69: Line 69:
 </code> </code>
  
 +====== Debugging ======
 +
 +Flash the HAHCentral and Output nodes sketches, tethering each to your computer.
 +Connect to each @ 57600 baud.
 +
 +When powered on the following should be displayed
 +<code>
 +[HAHCentral.1]1 g212 @ 868Mhz
 +OK 8 0
 +</code>
 +
 +<code>
 +[outputNode.1] i8 g212 @ 868Mhz
 +OUTPUT 0 0 0 0 0
 +</code>
  • livebox/hah_hahnode/outputnode.txt
  • Last modified: 2015/02/03 09:53
  • by brett