Did big refactoring and further adapted OutputDriverFactory as well as uptuput dricer to new board layouts.

This commit is contained in:
Johannes Wendel
2019-07-16 21:20:03 +02:00
parent db5563cff2
commit aa1d6409ea
34 changed files with 332 additions and 449 deletions

View File

@@ -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,

View File

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