Update
This commit is contained in:
parent
7b936642ad
commit
99ba609f6f
6 changed files with 392 additions and 330 deletions
6
CL56.cpp
6
CL56.cpp
|
|
@ -159,6 +159,12 @@ void DualCl56::setString(const char string[], const uint8_t dp)
|
|||
break;
|
||||
}
|
||||
if( (1 << i) & dp ) _segments[i] |= 1;
|
||||
else _segments[i] &= ~1;
|
||||
}
|
||||
if(string[i] == '\0') for(; i < 8; i++) _segments[i]&=SEG_DP;
|
||||
}
|
||||
|
||||
void DualCl56::setSegments(const uint8_t segments, const uint8_t place)
|
||||
{
|
||||
_segments[place] = segments;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue