rgb led fix

parent e68841d9
Showing with 2 additions and 0 deletions
......@@ -20,6 +20,8 @@ if(isPi()){
Gpio = require('onoff').Gpio;
// Set port
RED = new Gpio(4, 'out');
GREEN = new Gpio(17, 'out');
BLUE = new Gpio(27, 'out');
blinkInterval = setInterval(blinkRED, 250);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment