From 6bd49f1c3363844b7f7f05cf8bf5f8fe8d46e033 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 3 Dec 2022 18:22:25 -0500 Subject: [PATCH] Incorrect function path --- functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.js b/functions.js index 45adc23..68903fb 100644 --- a/functions.js +++ b/functions.js @@ -6,7 +6,7 @@ const fs = require('fs'); const gpio = require('rpi-gpio'); // Set up GPIO 4 (pysical pin 7) as output, then call functions.auger.ready() -gpio.setup(7, gpio.DIR_OUT, this.functions.auger.ready); +gpio.setup(7, gpio.DIR_OUT, functions.auger.ready()); // The functions we'll export to be used in other files const functions = {