mirror of
https://github.com/node-red/node-red
synced 2024-11-21 23:48:30 +00:00
tweak Arduino node colours and default port
This commit is contained in:
parent
8fccd4a88f
commit
6922a71995
@ -45,7 +45,7 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('arduino in',{
|
||||
category: 'advanced-input',
|
||||
color:"#c6dbef",
|
||||
color:"#3fadb5",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
pin: {value:"",required:true},
|
||||
@ -97,7 +97,7 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('arduino out',{
|
||||
category: 'advanced-output',
|
||||
color:"#c6dbef",
|
||||
color:"#3fadb5",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
pin: {value:""},
|
||||
@ -121,7 +121,7 @@
|
||||
<script type="text/x-red" data-template-name="arduino-board">
|
||||
<div class="form-row">
|
||||
<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 class="form-row">
|
||||
<label for="node-config-input-repeat"><i class="icon-repeat"></i> Sample (ms)</label>
|
||||
|
Loading…
Reference in New Issue
Block a user