From 5d6e5321ffce1f1e1907669f7b44c8935e851b1d Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 9 Jan 2018 23:02:47 -0500 Subject: [PATCH] Hardcode cfg.json with all the new command characters. --- app/.gitignore | 1 - app/data/cfg.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 app/data/cfg.json diff --git a/app/.gitignore b/app/.gitignore index e608ce6..d33aa83 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1,4 +1,3 @@ -data/cfg.json node_modules/* logs/* data/transfer*.json \ No newline at end of file diff --git a/app/data/cfg.json b/app/data/cfg.json new file mode 100644 index 0000000..dff8254 --- /dev/null +++ b/app/data/cfg.json @@ -0,0 +1,47 @@ +{ + "version" : "2.0.0", + "ext_port" : 1111, + "arduino" : { + "baud" : 57600, + "board" : "uno", + "serialDelay" : 20, + "sequenceDelay" : 100, + "cam" : { + "time" : 750, + "delay" : 50, + "momentary" : 300 + }, + "proj" : { + "time" : 1300, + "delay" : 50, + "momentary" : 300 + }, + "black" : { + "before" : 250, + "after" : 250 + }, + "cmd" : { + "debug" : "d", + "connect": "i", + "light" : "l", + "camera" : "c", + "projector" : "p", + "black" : "b", + "cam_forward" : "e", + "cam_backward" : "f", + "proj_forward" : "g", + "proj_backward" : "h", + "proj_identifier" : "j", + "cam_identifier" : "k", + "mcopy_identifier" : "m", + "cam_timed" : "n", + "proj_identifier" : "j", + "cam_identifier" : "k", + "light_identifier" : "o", + + "proj_light_identifier" : "q", + "proj_cam_light_identifier" : "r", + "proj_cam_identifier" : "s" + } + } +} \ No newline at end of file