Hardcode cfg.json with all the new command characters.

This commit is contained in:
mmcwilliams 2018-01-09 23:02:47 -05:00
parent 4b2df2896c
commit 5d6e5321ff
2 changed files with 47 additions and 1 deletions

1
app/.gitignore vendored
View File

@ -1,4 +1,3 @@
data/cfg.json
node_modules/* node_modules/*
logs/* logs/*
data/transfer*.json data/transfer*.json

47
app/data/cfg.json Normal file
View File

@ -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"
}
}
}