From 3e318754de4043ebf727f1d75108881963a39cbd Mon Sep 17 00:00:00 2001 From: John Shaver Date: Wed, 12 Dec 2018 15:52:51 -0800 Subject: [PATCH] changed pin numbers (that should be configureable...) --- runSchedule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runSchedule.js b/runSchedule.js index bf5d450..69ab17e 100644 --- a/runSchedule.js +++ b/runSchedule.js @@ -2,8 +2,8 @@ const Gpio = require("pigpio").Gpio; const schedule = require("./schedule.json"); const HZ = 40000; -let ledRed = new Gpio(18, {mode: Gpio.OUTPUT}); -let ledGreen = new Gpio(12, {mode: Gpio.OUTPUT}); +let ledRed = new Gpio(12, {mode: Gpio.OUTPUT}); +let ledGreen = new Gpio(13, {mode: Gpio.OUTPUT}); let timings = schedule.times.reduce((result, time) => { result.push({start: time.time, color: time.color});