Interfacing Arduino with Mamba Shield

Hey,

I am trying to use 2 mamba shields to allow 2 arduinos to communicate over powerlines. I was able to successfully get the arduinos to transfer serial data over the powerlines using the supplied sample code. However when I try and alter the code to allow some type of control of the pins, the code will compile and load onto the arduinos, but will cause the mamba shields to become unresponsive. The arduino's will be operating over a small isolated DC network, does that mean I don't need all the fancy code they have?

I have searched the internet looking for information on how to alter the code or write a code from scratch that isn't as in depth or long as the sample one, but have come up with nothing.

Does anyone know how to alter the codes, or have any information as to what is required to get the mambas transfer serial data?

Code (arduino 1.0.1): http://www.linksprite.com/download/showdownload.php?id=202&lang=en

Cheers

However when I try and alter the code to allow some type of control of the pins, the code will compile and load onto the arduinos, but will cause the mamba shields to become unresponsive.

Hi. I made some changes to the sample code, but I'm not going to tell you what they were, and now it does not work. What did I do wrong?

That sounds like exactly what you are asking.

Hey PaulS

Yeah sorry I completely overlooked that part, there is a loop within the code where it checks if a packet has been received. Within this loop I added a few lines to make an led blink.

if (Serial.available() > 0) {
incomingByte = Serial.read();
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);

plm1_send_data(&incomingByte, 1);
}

Also added in the setup:
pinMode(led, OUTPUT);

There is a Status Led on the Shield that is green while idling, prior to the alteration the led is lit. After the Code is uploaded the LED doesn't light up.

Cheers for bringing that to my attention.

There is a reason that we ask people to post ALL of their code. What value does led have? Does that conflict with a pin used by the shield? My guess is that it does.

mamba_arduino.pde:-1: error: 'EIFR' was not declared in this scope
mamba_arduino.pde:-1: error: 'EICRA' was not declared in this scope
mamba_arduino.pde:-1: error: 'EIMSK' was not declared in this scope

can anyone help me
i am getting these errors on standerd program given by linksprite