some refactoring
This commit is contained in:
9
FlippR-Driver/contrib/json_example/Lamp_Config.json
Normal file
9
FlippR-Driver/contrib/json_example/Lamp_Config.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"lamps" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"address" : 0,
|
||||||
|
"name" : "Special 100000 points"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
57
FlippR-Driver/contrib/json_example/Solenoid_Config.json
Normal file
57
FlippR-Driver/contrib/json_example/Solenoid_Config.json
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"solenoids" :
|
||||||
|
[
|
||||||
|
{ // todo is this solenoid?
|
||||||
|
"address" : 68,
|
||||||
|
"name" : "Flipper Relay"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 88,
|
||||||
|
"name" : "Out Hole"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 91,
|
||||||
|
"name" : "Bottom Right Pop"
|
||||||
|
},
|
||||||
|
{ // todo
|
||||||
|
"address" : 100,
|
||||||
|
"name" : "Top Flipper Relay"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 101,
|
||||||
|
"name" : "Right Kicker"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 103,
|
||||||
|
"name" : "Top Central Bank"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 104,
|
||||||
|
"name" : "Coin Mechanism Coil"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 105,
|
||||||
|
"name" : "Top Left Pop"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 106,
|
||||||
|
"name" : "Bottom Right Bank"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 107,
|
||||||
|
"name" : "Bottom Left Bank"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 108,
|
||||||
|
"name" : "Knocker"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 109,
|
||||||
|
"name" : "Right Flap"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"address" : 110,
|
||||||
|
"name" : "Left Flap"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"sounds" :
|
"sounds" :
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id:": 0,
|
"id:": 0,
|
||||||
@@ -145,69 +145,7 @@
|
|||||||
"id:": 28,
|
"id:": 28,
|
||||||
"address" : "50",
|
"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!\""
|
||||||
},
|
}
|
||||||
|
|
||||||
],
|
]
|
||||||
"lamps" :
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"address" : 0,
|
|
||||||
"name" : "Special 100000 points"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"solenoids" :
|
|
||||||
[
|
|
||||||
{ // todo is this solenoid?
|
|
||||||
"address" : 68,
|
|
||||||
"name" : "Flipper Relay"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 88,
|
|
||||||
"name" : "Out Hole"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 91,
|
|
||||||
"name" : "Bottom Right Pop"
|
|
||||||
},
|
|
||||||
{ // todo
|
|
||||||
"address" : 100,
|
|
||||||
"name" : "Top Flipper Relay"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 101,
|
|
||||||
"name" : "Right Kicker"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 103,
|
|
||||||
"name" : "Top Central Bank"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 104,
|
|
||||||
"name" : "Coin Mechanism Coil"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 105,
|
|
||||||
"name" : "Top Left Pop"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 106,
|
|
||||||
"name" : "Bottom Right Bank"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 107,
|
|
||||||
"name" : "Bottom Left Bank"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 108,
|
|
||||||
"name" : "Knocker"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 109,
|
|
||||||
"name" : "Right Flap"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address" : 110,
|
|
||||||
"name" : "Left Flap"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user