diff --git a/nodes/core/hardware/36-rpi-gpio.html b/nodes/core/hardware/36-rpi-gpio.html
index e6274483d..d4f04571c 100644
--- a/nodes/core/hardware/36-rpi-gpio.html
+++ b/nodes/core/hardware/36-rpi-gpio.html
@@ -19,23 +19,23 @@
@@ -95,7 +95,7 @@
else { return ""; }
},
label: function() {
- return this.name||"Pin: "+this.pin ;
+ return this.name || "Pin: "+this.pin ;
},
labelStyle: function() {
return this.name?"node_label_italic":"";
@@ -109,17 +109,17 @@
$.getJSON('rpi-gpio/'+this.id,function(data) {
$('#pitype').text(data.type);
if ((data.type !== "Model B") && (data.type !== "Model A")) {
- $('#node-input-pin').append($("").attr("value",27).text("27 - SDA0 - BCM0"));
- $('#node-input-pin').append($("").attr("value",28).text("28 - SCL0 - BCM1"));
- $('#node-input-pin').append($("").attr("value",29).text("29 - GPIO21 - BCM5"));
- $('#node-input-pin').append($("").attr("value",31).text("31 - GPIO22 - BCM6"));
- $('#node-input-pin').append($("").attr("value",32).text("32 - GPIO26 - BCM12"));
- $('#node-input-pin').append($("").attr("value",33).text("33 - GPIO23 - BCM13"));
- $('#node-input-pin').append($("").attr("value",35).text("35 - GPIO24 - BCM19"));
- $('#node-input-pin').append($("").attr("value",36).text("36 - GPIO27 - BCM16"));
- $('#node-input-pin').append($("").attr("value",37).text("37 - GPIO25 - BCM26"));
- $('#node-input-pin').append($("").attr("value",38).text("38 - GPIO28 - BCM20"));
- $('#node-input-pin').append($("").attr("value",40).text("40 - GPIO29 - BCM21"));
+ //$('#node-input-pin').append($("").attr("value",27).text("Pin 27 - SDA0 - BCM0"));
+ //$('#node-input-pin').append($("").attr("value",28).text("Pin 28 - SCL0 - BCM1"));
+ $('#node-input-pin').append($("").attr("value",29).text("Pin 29 - GPIO5"));
+ $('#node-input-pin').append($("").attr("value",31).text("Pin 31 - GPIO6"));
+ $('#node-input-pin').append($("").attr("value",32).text("Pin 32 - GPIO12"));
+ $('#node-input-pin').append($("").attr("value",33).text("Pin 33 - GPIO13"));
+ $('#node-input-pin').append($("").attr("value",35).text("Pin 35 - GPIO19"));
+ $('#node-input-pin').append($("").attr("value",36).text("Pin 36 - GPIO16"));
+ $('#node-input-pin').append($("").attr("value",37).text("Pin 37 - GPIO26"));
+ $('#node-input-pin').append($("").attr("value",38).text("Pin 38 - GPIO20"));
+ $('#node-input-pin').append($("").attr("value",40).text("Pin 40 - GPIO21"));
$('#node-input-pin').val(pinnow);
}
});
@@ -154,23 +154,23 @@
@@ -255,17 +255,17 @@
$.getJSON('rpi-gpio/'+this.id,function(data) {
$('#pitype').text(data.type);
if ((data.type !== "Model B") && (data.type !== "Model A")) {
- $('#node-input-pin').append($("").attr("value",27).text("27 - SDA0 - BCM0"));
- $('#node-input-pin').append($("").attr("value",28).text("28 - SCL0 - BCM1"));
- $('#node-input-pin').append($("").attr("value",29).text("29 - GPIO21 - BCM5"));
- $('#node-input-pin').append($("").attr("value",31).text("31 - GPIO22 - BCM6"));
- $('#node-input-pin').append($("").attr("value",32).text("32 - GPIO26 - BCM12"));
- $('#node-input-pin').append($("").attr("value",33).text("33 - GPIO23 - BCM13"));
- $('#node-input-pin').append($("").attr("value",35).text("35 - GPIO24 - BCM19"));
- $('#node-input-pin').append($("").attr("value",36).text("36 - GPIO27 - BCM16"));
- $('#node-input-pin').append($("").attr("value",37).text("37 - GPIO25 - BCM26"));
- $('#node-input-pin').append($("").attr("value",38).text("38 - GPIO28 - BCM20"));
- $('#node-input-pin').append($("").attr("value",40).text("40 - GPIO29 - BCM21"));
+ //$('#node-input-pin').append($("").attr("value",27).text("Pin 27 - SDA0 - BCM0"));
+ //$('#node-input-pin').append($("").attr("value",28).text("Pin 28 - SCL0 - BCM1"));
+ $('#node-input-pin').append($("").attr("value",29).text("Pin 29 - GPIO5"));
+ $('#node-input-pin').append($("").attr("value",31).text("Pin 31 - GPIO6"));
+ $('#node-input-pin').append($("").attr("value",32).text("Pin 32 - GPIO12"));
+ $('#node-input-pin').append($("").attr("value",33).text("Pin 33 - GPIO13"));
+ $('#node-input-pin').append($("").attr("value",35).text("Pin 35 - GPIO19"));
+ $('#node-input-pin').append($("").attr("value",36).text("Pin 36 - GPIO16"));
+ $('#node-input-pin').append($("").attr("value",37).text("Pin 37 - GPIO26"));
+ $('#node-input-pin').append($("").attr("value",38).text("Pin 38 - GPIO20"));
+ $('#node-input-pin').append($("").attr("value",40).text("Pin 40 - GPIO21"));
$('#node-input-pin').val(pinnow);
}
});
@@ -400,7 +400,7 @@
outputs:1,
icon: "rpi.png",
label: function() {
- return this.name||this._("rpi-gpio.label.pikeyboard");;
+ return this.name || this._("rpi-gpio.label.pikeyboard");
},
labelStyle: function() {
return this.name?"node_label_italic":"";
diff --git a/nodes/core/locales/en-US/messages.json b/nodes/core/locales/en-US/messages.json
index fd1503feb..c86b72a4b 100644
--- a/nodes/core/locales/en-US/messages.json
+++ b/nodes/core/locales/en-US/messages.json
@@ -609,7 +609,7 @@
},
"rpi-gpio": {
"label": {
- "gpiopin": "GPIO Pin",
+ "gpiopin": "GPIO",
"selectpin": "select pin",
"resistor": "Resistor?",
"readinitial": "Read initial state of pin on deploy/restart?",