Did big refactoring and further adapted OutputDriverFactory as well as uptuput dricer to new board layouts.
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,49 +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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user