Error: stray '\' in program, expected initializer before 'u00e4hler'


i have serious errors , don't know what's wrong code. need help. :'(

my errors:
writecallcompare.ino:11:1: error: stray '\' in program
writecallcompare.ino:103:7: error: stray '\' in program
writecallcompare.ino:113:3: error: stray '\' in program
writecallcompare.ino:11:7: error: expected initializer before 'u00e4hler'
writecallcompare.ino: in function 'void loop()':
writecallcompare.ino:103:9: error: expected ';' before 'u00e4hler'
writecallcompare.ino:113:67: error: expected ')' before 'u00e4hler'
writecallcompare.ino:113:67: error: 'u00e4hler' not declared in scope
writecallcompare.ino:113:81: error: expected ';' before ')' token
writecallcompare.ino:136:1: error: expected '}' @ end of input
error compiling.


code: [select]


#include <eeprom.h>
#include <gsm.h>

gsm gsmaccess;
gsm2 gsmaccessv2;
gsmvoicecall vcs;

#define number_len 15
#define pinnumber ""
char number[number_len];
int zähler = 0;
int z = 0;
int = 0;
int address = 0;
int address1 = 15;
void setup()
{
  serial.begin(9600);


 

  serial.println("receive voice call");
  boolean notconnected = true;

  while (notconnected)
  {
    if (gsmaccess.begin() == gsm_ready)
      notconnected = false;
    else
    {
      serial.println("not connected");
      delay(1000);
    }
  }

  vcs.hangcall();
  serial.println("waiting call");
}

void loop()
{
  z = 0;
  int addr = 0;

  char nummer[15] = {'+', '4', '3', '4', '2', '2', '4', '8', '1', '0', '9', '3'};
  char nummer1[15] = {'+', '4', '2', '2', '4', '8', '1', '0', '9', '3'};
  while (addr <= 14 && == 0)
  {
    eeprom.write(addr, nummer[addr]);
    addr = addr + 1;

  }
  = + 1;
  while (i == 1 && addr > 14 && addr <= 29 )
  {
    eeprom.write(addr, nummer1[addr - 15]);
    addr = addr + 1;

  }
  = + 1;
  while (z == 0)
  {
    switch (vcs.getvoicecallstatus())
    {
      case idle_call:

        break;

      case receivingcall:

        serial.println("receiving call");



        vcs.retrievecallingnumber(number, number_len);

     
        serial.print("number:");
        serial.println(number);


        vcs.hangcall();
        z = 1;
    }

  }


  char value;

  while (address <= 14 && number[0] == '+')
  {
    value = eeprom.read(address);
    if (number[address] == value)
    {
      address++;
    }
    else
    {
      serial.print("falsche nummer");
      zähler++;
      break;
    }
    if (address == 15)
    {

      serial.println("nummern stimmen überein");

    }
  }
  while (address1 <= 29 && address1 > 14 && number[0] == '+' && zähler == 1)
  {
    value = eeprom.read(address1);
    if (number[address1] == value)
    {
      address1++;
    }
    else
    {
      serial.print("falsche nummer");
      break;
    }
    if (address1 == 30)
    {

      serial.println("nummern stimmen überein");
    }
  }

  = 10;

  ´´

}

i bet coped s web page , has hidden unicode characters in it.  can download raw version of code ?  oomlaut character causing problem.  replace variables use them plain names , take out line (#135) single quotes in it.


Arduino Forum > Using Arduino > Programming Questions > Error: stray '\' in program, expected initializer before 'u00e4hler'


arduino

Comments