Other Parts Discussed in Thread: ENERGIA, CONTROLSUITE
Hey,
I need to make two C2000 F28027 talk wireless using Zigbee Pro. I cannot find anything helpful on this . Can you provide me with useful links ?
1: I used IDE ( Energia) , connected tx , rx pins of c2000 to that of Zigbee.
J1.3 as rx
J1.4 as tx
Wrote a simple code :
void setup()
{
// put your setup code here, to run once:
pinMode(P1, OUTPUT);
pinMode(P0, OUTPUT);
pinMode(P2, OUTPUT);
pinMode(P3, OUTPUT);
Serial.begin(9600);
int a=0;
}
void loop()
{
if (Serial.available()>0)
{int a = Serial.read();
Serial.println(a);
Serial.println("poop");
if (a==49){
Serial.println("wohoo");
delay(100);
}
}
// put your main code here, to run repeatedly:
}
