Hey,
I am using CC2530 zigbee development kit, I need to ask: I took a sample example of toggling LED 1, but when it toggle, it couldn't appear in the EB, because the for loop is very fast, So I need a delay or timer after toggling.
here is the sample code:
#include <ioCC2530.h>
int main(void)
{
// Set P1.0 of CC2530 as output
P1DIR |= 0x01;
// Toggle P1.0
for(;;)
{
P1_0 ^= 1;
}
again what I need is a timer or delay after P1_0^=1;
another question: I need to toggle LED 2, but I dont know the pin.
Thanks,
SI
}