1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

tweak Arduino node colours and default port

This commit is contained in:
Dave Conway-Jones 2013-09-06 09:26:19 +01:00
parent 8fccd4a88f
commit 6922a71995

View File

@ -45,7 +45,7 @@
<script type="text/javascript"> <script type="text/javascript">
RED.nodes.registerType('arduino in',{ RED.nodes.registerType('arduino in',{
category: 'advanced-input', category: 'advanced-input',
color:"#c6dbef", color:"#3fadb5",
defaults: { defaults: {
name: {value:""}, name: {value:""},
pin: {value:"",required:true}, pin: {value:"",required:true},
@ -97,7 +97,7 @@
<script type="text/javascript"> <script type="text/javascript">
RED.nodes.registerType('arduino out',{ RED.nodes.registerType('arduino out',{
category: 'advanced-output', category: 'advanced-output',
color:"#c6dbef", color:"#3fadb5",
defaults: { defaults: {
name: {value:""}, name: {value:""},
pin: {value:""}, pin: {value:""},
@ -121,7 +121,7 @@
<script type="text/x-red" data-template-name="arduino-board"> <script type="text/x-red" data-template-name="arduino-board">
<div class="form-row"> <div class="form-row">
<label for="node-config-input-device"><i class="icon-bullhorn"></i> Arduino Port</label> <label for="node-config-input-device"><i class="icon-bullhorn"></i> Arduino Port</label>
<input type="text" id="node-config-input-device" placeholder="ttyU" style="width:50%;"> <input type="text" id="node-config-input-device" placeholder="/dev/ttyUSB0" style="width:50%;">
</div> </div>
<div class="form-row"> <div class="form-row">
<label for="node-config-input-repeat"><i class="icon-repeat"></i> Sample (ms)</label> <label for="node-config-input-repeat"><i class="icon-repeat"></i> Sample (ms)</label>