File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " node-red-node-pilcd" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.3.0 " ,
4
4
"description" : " A Node-RED node for Raspberry Pi to write to HD44780 style LCD panels." ,
5
5
"dependencies" : {
6
6
},
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module.exports = function(RED) {
14
14
RED . log . warn ( "rpi-lcd : " + RED . _ ( "pilcd.errors.ignorenode" ) ) ;
15
15
allOK = false ;
16
16
}
17
- else if ( ! fs . existsSync ( "/usr/share/doc/python-rpi.gpio" ) ) {
17
+ else if ( ! fs . existsSync ( "/usr/share/doc/python-rpi.gpio" ) && ! fs . existsSync ( "/usr/share/doc/python3-rpi.gpio" ) ) {
18
18
RED . log . warn ( "rpi-lcd : " + RED . _ ( "pilcd.errors.libnotfound" ) ) ;
19
19
allOK = false ;
20
20
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " node-red-node-pisrf" ,
3
- "version" : " 0.1.7 " ,
3
+ "version" : " 0.2.0 " ,
4
4
"description" : " A Node-RED node for a Raspberry Pi to use a SRF04 or SRF05 range finder" ,
5
5
"dependencies" : {
6
6
},
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module.exports = function(RED) {
14
14
RED . log . warn ( "rpi-srf : " + RED . _ ( "node-red:rpi-gpio.errors.ignorenode" ) ) ;
15
15
allOK = false ;
16
16
}
17
- else if ( ! fs . existsSync ( "/usr/share/doc/python-rpi.gpio" ) ) {
17
+ else if ( ! fs . existsSync ( "/usr/share/doc/python-rpi.gpio" ) && ! fs . existsSync ( "/usr/share/doc/python3-rpi.gpio" ) ) {
18
18
RED . log . warn ( "rpi-srf : " + RED . _ ( "node-red:rpi-gpio.errors.libnotfound" ) ) ;
19
19
allOK = false ;
20
20
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " node-red-node-pi-unicorn-hat" ,
3
- "version" : " 0.0.23 " ,
3
+ "version" : " 0.1.0 " ,
4
4
"description" : " A Node-RED node to output to a Raspberry Pi Unicorn HAT from Pimorini." ,
5
5
"dependencies" : {
6
6
"pngjs" : " 2.2.*"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ module.exports = function(RED) {
15
15
RED . log . warn ( "rpi-unicorn : " + RED . _ ( "node-red:rpi-gpio.errors.ignorenode" ) ) ;
16
16
allOK = false ;
17
17
}
18
- else if ( ! fs . existsSync ( "/usr/share/doc/python-rpi.gpio" ) ) {
18
+ else if ( ! fs . existsSync ( "/usr/share/doc/python-rpi.gpio" ) && ! fs . existsSync ( "/usr/share/doc/python3-rpi.gpio" ) ) {
19
19
RED . log . warn ( "rpi-unicorn : " + RED . _ ( "node-red:rpi-gpio.errors.libnotfound" ) ) ;
20
20
allOK = false ;
21
21
}
You can’t perform that action at this time.
0 commit comments