also ich habe erstmal versucht das ganze 7-Segment Gedoens zu decodieren.
Code:
/**
* upper line:
* num code 7654 3210
* 0 0x0F 0x0A 1111 1010
* 1 0x00 0x0A 0000 1010
* 2 0x0D 0x06 1101 0110
* 3 0x09 0x0e 1001 1110
* 4 0x02 0x0e 0010 1110
* 5 0x0b 0x0c 1011 1100
* 6 0x0f 0x0c 1111 1100
* 7 0x03 0x0a 0011 1010
* 8 0x0f 0x0e 1111 1110
* 9 0x0b 0x0e 1011 1110
*
*/
/**
* 0x78 0xE0 0x88 0x70 ---- 0xAB 0xCD 0xEF 0xGH 0xIJ 0xKL 0xMN 0xOP 0xQR 0xST 0xUV 0xWX
* =================== start code for 7-segment field
*
* A = Bits 7..4 of BCD number from lower line
* B = Bits 7..4 of BCD number from upper line
* C = Bits 3..1 of BCD number from lower line
* D = Bits 3..1 of BCD number from upper line
*
* nibble corresponds to display:
*
* (BD)(FH) (JL)(NP) (RT)(VX)
* (AC)(EG) (IK)(MO) (QS)(UW)
*
*/
nehmen wir mal folgendes Bild als Grundlage
Bild hier
a = Bit 4
b = Bit 1
c = Bit 3
d = Bit 7
e = Bit 6
f = Bit 5
g = Bit 2
Ich hoffe das ist halbwegs verstaendlich.
Lesezeichen