Hi guys
i am doing a program for analog radio so in that i am using a binary switch for channel changing , problem is when we change the channel it should send perticular data by calculating it is of 20 bits..and in this first 2 bits are fixed and other 4 are 0100 and 0101 .. For this i have to upload other 0-9 bits and 10 -19 bits from the main data of 16bits .
Ex: Take a one value 03e85 this i need to split into two values and i have to send as below
01 0100 (b9-b0)
01 0101 (b19-b10)
pls can anyone suggest how to approach for that
thank you
i am doing a program for analog radio so in that i am using a binary switch for channel changing , problem is when we change the channel it should send perticular data by calculating it is of 20 bits..and in this first 2 bits are fixed and other 4 are 0100 and 0101 .. For this i have to upload other 0-9 bits and 10 -19 bits from the main data of 16bits .
Ex: Take a one value 03e85 this i need to split into two values and i have to send as below
01 0100 (b9-b0)
01 0101 (b19-b10)
pls can anyone suggest how to approach for that
thank you