Hello,
Can anyone tell me how to send serial data at regular intervals say 1sec.
Have a look at the blink without delay tutorial
you could use simple delay() statements to space out when to send messages. Or better yet if your sketch has to do other tasks as well use the millis() function to calculate when it's time to send the next message. See the blink with out delay example on how one can keep track of passage of time.
Lefty
Did strcmp() works with arduino?
Yes