From 5cb309a9bb3481534b353cb50c707a64b4155c00 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 18 Oct 2018 12:41:52 +0200 Subject: :construction: Work on installer and making the supportfiles do led control --- app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index 01f7242..406ecbd 100644 --- a/app.js +++ b/app.js @@ -63,7 +63,12 @@ if (!fse.existsSync(dataDir + "/config/versionChecker.json")) { if (!fse.existsSync(dataDir + "/config/strip.json")) { fse.writeJsonSync(dataDir + "/config/strip.json", { "segments": [9, 8, 8, 8, 8, 8, 4], - "segmentConfiguration": "snake" + "segmentConfiguration": "snake", + "led_pin": 18, + "led_freq_hz": 800000, + "led_dma": 10, + "led_invert": false, + "led_channel": 0 }) } -- cgit v1.2.3