Thema: BCD switsch
Einzelnen Beitrag anzeigen
Alt 25.09.2003, 16:32   #2
mbessler
Veteran
 
Registriert seit: 27.01.2003
Beiträge: 234


Standard Re: BCD switsch

Zitat:
Original geschrieben von fmw
Hi

I will build a display with use of a BCD switsch.

Can anybody explamin me the function of the BCD.

Ther is more type of the BCD, decimal and hex.

How is it function and how are you connect it to the FSKEY

Regards

Finn
Denmark
BCD stands for Binary Coded Decimal.

It basically means that you code the decimal system in a binary means.
eg. for each digit in your decimal number, you use 4 bits binary.
This looks like this:
Code:
decimal
 number  |  BCD
      0  |      0000
      1  |      0001
      2  |      0010
      3  |      0011
      4  |      0100
      5  |      0101
      6  |      0110
      7  |      0111
      8  |      1000
      9  |      1001
     10  | 0001 0000
     11  | 0001 0001
     ...
     20  | 0010 0000
     21  | 0010 0001
     ...
    123  |    0001 0010 0011
Hope it helps.
____________________________________
http://wiki.varxec.net The Simbuilder\'s Wiki
FlightGear, the free open-source, multi-platform Flight Simulator under GPL (http://www.flightgear.org)
mbessler ist offline   Mit Zitat antworten