mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	check for correct version of neopixel library
This commit is contained in:
		
							
								
								
									
										2
									
								
								hardware/neopixel/neopixel.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										2
									
								
								hardware/neopixel/neopixel.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							| @@ -14,7 +14,7 @@ module.exports = function(RED) { | ||||
|             RED.log.warn("rpi-neopixels : "+RED._("node-red:rpi-gpio.errors.ignorenode")); | ||||
|             allOK = false; | ||||
|         } | ||||
|         else if (execSync('python -c "import neopixel"').toString() !== "") { | ||||
|         else if (execSync('python -c "import rpi_ws281x"').toString() !== "") { | ||||
|             RED.log.warn("rpi-neopixels : Can't find neopixel python library"); | ||||
|             allOK = false; | ||||
|         } | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|     "name"          : "node-red-node-pi-neopixel", | ||||
|     "version"       : "0.0.21", | ||||
|     "version"       : "0.0.22", | ||||
|     "description"   : "A Node-RED node to output to a neopixel (ws2812) string of LEDS from a Raspberry Pi.", | ||||
|     "dependencies"  : { | ||||
|     }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user