mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	mraa-gpio: sync iot2050 id with mraa library (#948)
Based on eclipse/mraa@a9f0ff22 iot2050 platform add. Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com> Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
This commit is contained in:
		@@ -27,7 +27,7 @@
 | 
			
		||||
                if (data === 5) { t = "Raspberry Pi"; }
 | 
			
		||||
                if (data === 6) { t = "Beaglebone"; }
 | 
			
		||||
                if (data === 7) { t = "Banana"; }
 | 
			
		||||
                if (data === 25) { t = "IOT2050"; }
 | 
			
		||||
                if (data === 26) { t = "IOT2050"; }
 | 
			
		||||
                $('#btype').text(t);
 | 
			
		||||
                $('#node-input-pin').val(pinnow);
 | 
			
		||||
            });
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,7 @@
 | 
			
		||||
                if (data === 5) { t = "Raspberry Pi"; }
 | 
			
		||||
                if (data === 6) { t = "Beaglebone"; }
 | 
			
		||||
                if (data === 7) { t = "Banana"; }
 | 
			
		||||
                if (data === 25) { t = "IOT2050"; }
 | 
			
		||||
                if (data === 26) { t = "IOT2050"; }
 | 
			
		||||
                $('#type-tip').text(t);
 | 
			
		||||
                $('#node-input-pin').val(pinnow);
 | 
			
		||||
            });
 | 
			
		||||
 
 | 
			
		||||
@@ -36,7 +36,7 @@
 | 
			
		||||
                if (data === 5) { t = "Raspberry Pi"; }
 | 
			
		||||
                if (data === 6) { t = "Beaglebone"; }
 | 
			
		||||
                if (data === 7) { t = "Banana"; }
 | 
			
		||||
                if (data === 25) { t = "IOT2050"; }
 | 
			
		||||
                if (data === 26) { t = "IOT2050"; }
 | 
			
		||||
                $('#btype').text(t);
 | 
			
		||||
                if (data === 0) {
 | 
			
		||||
                    $('#node-input-pin').append($("<option></option>").attr("value",14).text("LED - Galileo v1"));
 | 
			
		||||
 
 | 
			
		||||
@@ -30,7 +30,7 @@
 | 
			
		||||
                if (data === 5) { t = "Raspberry Pi"; }
 | 
			
		||||
                if (data === 6) { t = "Beaglebone"; }
 | 
			
		||||
                if (data === 7) { t = "Banana"; }
 | 
			
		||||
                if (data === 25) { t = "IOT2050"; }
 | 
			
		||||
                if (data === 26) { t = "IOT2050"; }
 | 
			
		||||
                $('#btype').text(t);
 | 
			
		||||
                $('#node-input-pin').val(pinnow);
 | 
			
		||||
            });
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@
 | 
			
		||||
                if (data === 5) { t = "Raspberry Pi"; }
 | 
			
		||||
                if (data === 6) { t = "Beaglebone"; }
 | 
			
		||||
                if (data === 7) { t = "Banana"; }
 | 
			
		||||
                if (data === 25) { t = "IOT2050"; }
 | 
			
		||||
                if (data === 26) { t = "IOT2050"; }
 | 
			
		||||
                $('#type-tip').text(t);
 | 
			
		||||
                $('#node-input-pin').val(pinnow);
 | 
			
		||||
            });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user