UNPKG

@kitazaki/node-red-contrib-mcu-camera

Version:
41 lines (37 loc) 1.35 kB
<script type="text/javascript"> RED.nodes.registerType('mcu_camera',{ category: 'MCU', color: '#a6bbcf', defaults: { name: { value: "" }, imagetype: { value: "jpeg", required: true }, width: { value: "176", required: true }, height: { value: "144", required: true }, moddable_manifest: { value: { include: "manifest.json" } } }, inputs:1, outputs:1, icon: "font-awesome/fa-camera", label: function() { return this.name || "mcu_camera"; } }); </script> <script type="text/html" data-template-name="mcu_camera"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> <input type="text" id="node-input-name" placeholder="Name"><br> <label for="node-input-imagetype"><i class="fa fa-tag"></i> Type</label> <input type="text" id="node-input-imagetype" style="width:80px"><br> <label for="node-input-size"><i class="fa fa-tag"></i> Width</label> <input type="number" id="node-input-width" style="width:80px"><br> <label for="node-input-size"><i class="fa fa-tag"></i> Height</label> <input type="number" id="node-input-height" style="width:80px"><br> </div> </script> <script type="text/html" data-help-name="mcu_camera"> </script>