UNPKG

@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) 828 B
<script type="text/javascript"> RED.nodes.registerType('cansend',{ category: 'sparkfun', color: '#009999', defaults: { name: {value:""} }, inputs:1, outputs:1, align: "right", icon: "arrow.png", paletteLabel: "CAN Send", label: function() { return this.name||"CAN Send"; } }); </script> <script type="text/x-red" data-template-name="cansend"> <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="cansend"> <p>A node to send canbus messages to sparkfun canbussheild.</p> </script>