ht12e decoding algorithm for arduino

hi i have seen neuron_upheaval's work on ht12e library for arduino and he did a great job.

http://forum.arduino.cc/index.php?topic=24424.0

taking reference from his work i was trying to develop a project where i am using around 50 ht12e in which all are having different addresses and ht12e are sending data to arduino which is running your algorithm

now as he shown in his example i am able to connect arduino to one address but i am not able to do that with other addresses at the same time.

i can only configure arduino for only one address at a time

please help me so that i can configure arduino for all addresses at once

details of my circuit are

ht12e with 9vDC

ROSC=1Mohm

i can only configure arduino for only one address at a time

Why? What have you tried? The address of the chip is defined by which pins you ground. For just two chips, which pins have you grounded? Which addresses do you think they have? Which pins on the Arduino are you connecting them to?

i was trying to develop a project where i am using around 50 ht12e

On which Arduino?

by using 50 different combinations of address pin A0 to A7 and then grounding them i prepare 50 ht12e chips with 50 different addresses
the i use neuron_ upheaval’s ht12e library on arduino uno to decode each address
but using his code i am only able to decode one address
code]

#include <HT12E.h>

HT12E remote(7, B01111111); // pino 7, endereço 0111 1111b

void setup()
{
Serial.begin(9600);
}

void loop()
{
unsigned int valor;
valor = remote.read();
if(valor > 0xFFF0) Serial.println(valor, HEX);
else
{
Serial.print("DATA ");
Serial.println(valor, BIN);
}
delay(1000);
}

in this code

HT12E remote(7, B01111111); // pino 7, endereço 0111 1111b

this line is ised to set the address for which arduino uno should look for.
by using this command i am able to set one address but for multiple address it is not working
when i set multiple addressed it detects ony one address thats the first one

this line is ised to set the address for which arduino uno should look for. by using this command i am able to set one address but for multiple address it is not working when i set multiple addressed it detects ony one address thats the first one

Show an example of how you are trying to deal with a second device. All I can do at this point is assume that you are doing it wrong.