Discussion in 'Embedded Systems and Microcontrollers' started by bhuvanesh, Dec 31, 2013.

  1. bhuvanesh

    Thread Starter Member

    Aug 10, 2013
    Code ( (Unknown Language)):
    1. void setup()
    2. {
    3. Serial.begin(9600);
    4. }
    5. void loop()
    7. {
    8.   if(Serial.available()>0)
    9. {
    10.   char;
    11.   boolean b= Serial.find("aa");
    12.   if(b)
    13.   Serial.println("found");}}
    is this way of using serial.find.if not help me plzzz
  2. DerStrom8

    Well-Known Member

    Feb 20, 2011
    You're going to have to give us a lot more information than that. What language/compiler are you using? What specific device are you using? What are you trying to do with it?

    You can't post such a vague question like that and expect a reasonable answer.
    bhuvanesh likes this.
  3. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    If serial.find() is a built in function of your C compiler then it should be well documented in your compilers help file (probably with code examples)!

    Knowing how to use your compiler's help file and language reference for all it's inbuilt functions is a very important skill. :)
    bhuvanesh likes this.