Page 1 of 1

Binary needed

Posted: Mon Feb 18, 2008 2:09 am
by firechief40
binary needed for 156.145. Anyone know? Thanks

Re: Binary needed

Posted: Mon Feb 18, 2008 3:08 am
by Andy Brinkley
????

What are you needing it for?

Also binary doesn't do decimals.

Re: Binary needed

Posted: Mon Feb 18, 2008 4:03 am
by firechief40
binary does do decimals. I need it as 10001001.

ALL decimals can be converted to binaries.

I need it to program a secondary frequency for a BTX-127 radio.

Re: Binary needed

Posted: Mon Feb 18, 2008 5:54 am
by tvsjr
BTX-127 isn't Motorola and is thus off-topic, so this thread will be locked.

Binary doesn't "do" decimals. Decimals can be represented in binary using complement (two's-complement or one's-complement) notation, among other more obscure methods. However, to express a number as binary, you have to know what format. 32-bit? Intel Unsigned Long? Big endian or little endian?

Of course, the BTX-127's DIP switches are a proprietary pattern to set a frequency. They are not a standard binary representation of a decimal number - likely, they are some form of a base frequency + some X 15KHz steps above that base. Were I the OP, I'd go to Google and enter BTX-127, which would present me with all sorts of information - the very first link holding full programming instructions including the "special" frequency table.