@pib-statuslamp/sparkfun-canbusshield_node-red
Version:
Node-RED support for Sparkfun CAN bus shield. can send and recieve canbus data via the sparkfun canbusshield.
30 lines (26 loc) • 848 B
HTML
<script type="text/javascript">
RED.nodes.registerType('canrecieve',{
category: 'sparkfun',
color: '#009999',
defaults: {
name: {value:""}
},
inputs:1,
outputs:1,
align: "right",
icon: "arrow.png",
paletteLabel: "CAN Recieve",
label: function() {
return this.name||"CAN Recieve";
}
});
</script>
<script type="text/x-red" data-template-name="canrecieve">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="canrecieve">
<p>A node to recieve canbus messages from sparkfun canbussheild.</p>
</script>