<script type="text/javascript">
    RED.nodes.registerType('adafruit-max31855',{
        category: 'input',
        color: '#a6bbcf',
        defaults: {
            name: { value: "" },
            muxing: { value:0,required:true,validate:RED.validators.number() },
        },
        inputs:0,
        outputs:1,
        icon: "file.png",
        label: function() {
            return this.name||"adafruit-max31855";
        }
    });
</script>

<script type="text/x-red" data-template-name="adafruit-max31855">
    <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>
    <div class="form-row">
        <label for="node-config-input-muxing"><i class="icon-code-fork"></i> Muxing</label>
        <input type="text" id="node-config-input-muxing">
    </div>
</script>

<script type="text/x-red" data-help-name="adafruit-max31855">
    <p>A simple node that converts the message payloads from an adafruit max31855 driver into Node-RED.</p>
</script>
<script type="text/javascript">
    RED.nodes.registerType('adafruit-max31855',{
        category: 'input',
        color: '#a6bbcf',
        defaults: {
            name: { value: "" },
            muxing: { value:0,required:true,validate:RED.validators.number() },
        },
        inputs:0,
        outputs:1,
        icon: "file.png",
        label: function() {
            return this.name||"adafruit-max31855";
        }
    });
</script>

<script type="text/x-red" data-template-name="adafruit-max31855">
    <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>
    <div class="form-row">
        <label for="node-input-muxing"><i class="icon-code-fork"></i> Muxing</label>
        <input type="text" id="node-input-muxing">
    </div>
</script>

<script type="text/x-red" data-help-name="adafruit-max31855">
    <p>A simple node that converts the message payloads from an adafruit max31855 driver into Node-RED.</p>
</script>
Fix view for setting muxing.
Fix view for setting muxing.
