fuuuuuuuu
This commit is contained in:
@@ -1,7 +1,31 @@
|
||||
{
|
||||
"display_board" :
|
||||
{
|
||||
"display_select" :
|
||||
{
|
||||
"1" : 0,
|
||||
"2" : 0,
|
||||
"3" : 0,
|
||||
"4" : 0,
|
||||
"5" : 0
|
||||
},
|
||||
"segment_select" :
|
||||
{
|
||||
"A" : 0,
|
||||
"B" : 0,
|
||||
"C" : 0
|
||||
},
|
||||
"digit_select" :
|
||||
{
|
||||
"A": 0,
|
||||
"B": 0,
|
||||
"C": 0,
|
||||
"D": 0
|
||||
},
|
||||
"run" : 0
|
||||
},
|
||||
"displays" :
|
||||
[
|
||||
// todo add name!
|
||||
{
|
||||
"digits" : 8,
|
||||
"id" : 1,
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{
|
||||
"port_extender" :
|
||||
"port_extenders" :
|
||||
[
|
||||
"name" : "extender_1",
|
||||
"i2c_address" : 33,
|
||||
"pin_base" : 82
|
||||
{
|
||||
"name" : "extender_1",
|
||||
"i2c_address" : 33,
|
||||
"pin_base" : 82
|
||||
}
|
||||
],
|
||||
"lamps" :
|
||||
[
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
{
|
||||
"display_board" :
|
||||
{
|
||||
"display_select" :
|
||||
{
|
||||
"1" : 0,
|
||||
"2" : 0,
|
||||
"3" : 0,
|
||||
"4" : 0,
|
||||
"5" : 0
|
||||
},
|
||||
"segment_select" :
|
||||
{
|
||||
"A" : 0,
|
||||
"B" : 0,
|
||||
"C" : 0
|
||||
},
|
||||
"digit_select" :
|
||||
{
|
||||
"A": 0,
|
||||
"B": 0,
|
||||
"C": 0,
|
||||
"D": 0
|
||||
},
|
||||
"run" : 0
|
||||
},
|
||||
"driver_board" :
|
||||
{
|
||||
"i2c_address" : 32,
|
||||
"pin_base" : 65,
|
||||
"pin-select" :
|
||||
{
|
||||
"A" : 0,
|
||||
"B" : 1,
|
||||
"C" : 2
|
||||
},
|
||||
"data" : 3,
|
||||
"CL" : 4,
|
||||
"latch-select" :
|
||||
{
|
||||
"mux1" : 8,
|
||||
"mux2" : 9,
|
||||
"A" : 5,
|
||||
"B" : 6,
|
||||
"C" : 7
|
||||
}
|
||||
|
||||
},
|
||||
"sound_board" :
|
||||
{
|
||||
"i2c_address" : 33,
|
||||
"pin_base" : 81,
|
||||
"fire" : 7,
|
||||
"sound_address_select" :
|
||||
{
|
||||
"A" : 0,
|
||||
"B" : 1,
|
||||
"C" : 2,
|
||||
"D" : 3,
|
||||
"E" : 4,
|
||||
"F" : 5,
|
||||
"G" : 6
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,9 +1,11 @@
|
||||
{
|
||||
"port_extenders" :
|
||||
[
|
||||
"name" : "extender_0",
|
||||
"i2c_address" : 32,
|
||||
"pin_base" : 65
|
||||
{
|
||||
"name" : "extender_0",
|
||||
"i2c_address" : 32,
|
||||
"pin_base" : 65
|
||||
}
|
||||
],
|
||||
"deactivation_time_milliseconds" : 10,
|
||||
"flippers" :
|
||||
|
||||
@@ -1,152 +1,194 @@
|
||||
{
|
||||
"deactivation_time_milliseconds" : 10,
|
||||
"port_extenders" :
|
||||
[
|
||||
{
|
||||
"name" : "extender_0",
|
||||
"i2c_address" : 33,
|
||||
"pin_base" : 81
|
||||
}
|
||||
],
|
||||
"fire_pin" :
|
||||
{
|
||||
"address" : 7,
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
"sounds" :
|
||||
[
|
||||
{
|
||||
"id" : 0,
|
||||
"address" : "22",
|
||||
"description" : "Sound 1"
|
||||
"description" : "Sound 1",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 1,
|
||||
"address" : "23",
|
||||
"description" : "Sound 2"
|
||||
"description" : "Sound 2",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 2,
|
||||
"address" : "24",
|
||||
"description" : "Sound 3"
|
||||
"description" : "Sound 3",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 3,
|
||||
"address" : "25",
|
||||
"description" : "Sound 4"
|
||||
"description" : "Sound 4",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 4,
|
||||
"address" : "26",
|
||||
"description" : "Sound 5"
|
||||
"description" : "Sound 5",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 5,
|
||||
"address" : "27",
|
||||
"description" : "Sound 6"
|
||||
"description" : "Sound 6",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 6,
|
||||
"address" : "28",
|
||||
"description" : "Sound 7"
|
||||
"description" : "Sound 7",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 7,
|
||||
"address" : "29",
|
||||
"description" : "Sound 8"
|
||||
"description" : "Sound 8",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 8,
|
||||
"address" : "30",
|
||||
"description" : "Sound 9"
|
||||
"description" : "Sound 9",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 9,
|
||||
"address" : "31",
|
||||
"description" : "Sound 10"
|
||||
"description" : "Sound 10",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 10,
|
||||
"address" : "32",
|
||||
"description" : "Sound 11"
|
||||
"description" : "Sound 11",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 11,
|
||||
"address" : "33",
|
||||
"description" : "Sound 12"
|
||||
"description" : "Sound 12",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 12,
|
||||
"address" : "34",
|
||||
"description" : "Sound 13"
|
||||
"description" : "Sound 13",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 13,
|
||||
"address" : "35",
|
||||
"description" : "Sound 14"
|
||||
"description" : "Sound 14",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 14,
|
||||
"address" : "36",
|
||||
"description" : "Sound 15"
|
||||
"description" : "Sound 15",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 15,
|
||||
"address" : "37",
|
||||
"description" : "Sound 16"
|
||||
"description" : "Sound 16",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 16,
|
||||
"address" : "38",
|
||||
"description" : "Sound 17"
|
||||
"description" : "Sound 17",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 17,
|
||||
"address" : "39",
|
||||
"description" : "Sound 18"
|
||||
"description" : "Sound 18",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 18,
|
||||
"address" : "40",
|
||||
"description" : "Sound 19"
|
||||
"description" : "Sound 19",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 19,
|
||||
"address" : "41",
|
||||
"description" : "Sound 20"
|
||||
"description" : "Sound 20",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 20,
|
||||
"address" : "42",
|
||||
"description" : "Sound 21"
|
||||
"description" : "Sound 21",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 21,
|
||||
"address" : "43",
|
||||
"description" : "Sound 22"
|
||||
"description" : "Sound 22",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 22,
|
||||
"address" : "44",
|
||||
"description" : "Sound 23"
|
||||
"description" : "Sound 23",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 23,
|
||||
"address" : "45",
|
||||
"description" : "Sound 24"
|
||||
"description" : "Sound 24",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 24,
|
||||
"address" : "46",
|
||||
"description" : "Sound 25"
|
||||
"description" : "Sound 25",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 25,
|
||||
"address" : "47",
|
||||
"description" : "Sound 26"
|
||||
"description" : "Sound 26",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 26,
|
||||
"address" : "48",
|
||||
"description" : "Sound 27"
|
||||
"description" : "Sound 27",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 27,
|
||||
"address" : "49",
|
||||
"description" : "Sound 28"
|
||||
"description" : "Sound 28",
|
||||
"extender" : "extender_0"
|
||||
},
|
||||
{
|
||||
"id" : 28,
|
||||
"address" : "50",
|
||||
"description" : "Speech 1: \"You're good! But I'm still the Champ!\""
|
||||
"description" : "Speech 1: \"You're good! But I'm still the Champ!\"",
|
||||
"extender" : "extender_0"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"input-config" :"../../contrib/json_example/input/Input_Pin_Config.json",
|
||||
"matrix-config" :"../../contrib/json_example/input/Input_Matrix_Config.json",
|
||||
"output-pin-config" :"../../contrib/json_example/output/Output_Pin_Config.json",
|
||||
"lamp-config" :"../../contrib/json_example/output/Lamp_Config.json",
|
||||
"solenoid-config" :"../../contrib/json_example/output/Solenoid_Config.json",
|
||||
"sound-config" :"../../contrib/json_example/output/Sound_Config.json",
|
||||
|
||||
Reference in New Issue
Block a user