expected unqualified-id before string

So ı was trying to mix two codes. I checked my codes several times and couldn't find the solution. mycode.ino is my mixed code and the Original Triac Control pot and the original pulse codes are the original codes.

originalpulse.ino (7.01 KB)

Original Triac Control pot.zip (1.86 KB)

mycode.ino (7.88 KB)

Where does the loop() function end ?

void loop()
{
  {
    if (int(Thermistor(analogRead(thermpin))) >= cutofftemp)   // This prevents any activations if the temperature is too high
    {
      cooldown();
    }
    if (digitalRead(menupin) == HIGH)   // This changes the menu if the menu button is pressed
    {
      delay(debouncepause);
      menuchange();
    }
    if (digitalRead(weldbuttonpin) == HIGH)   // This begins a weld when the weld button is pressed
    {
      delay(debouncepause);
      weld();
    }
    valor = map(analogRead(A0), 0, 1024, 10000, 10);
    //In my case I've used valor = map(analogRead(A0),0,1024,7200,10); for better results
    if (detectado)
    {
      delayMicroseconds(valor); //This delay controls the power
      digitalWrite(3, HIGH);
      delayMicroseconds(100);
      digitalWrite(3, LOW);
      detectado = 0;
    }
  }
  //This is the interruption routine
  //----------------------------------------------
  ISR(PCINT0_vect)                 //Input from optocoupler
  {
    if (PINB & B00000001)                               //We make an AND with the pin state register, We verify if pin 8 is HIGH???
    {
etc, etc

Yeah, I find the solution the problem was in the 144 line but I have a question now ı have an error compiling for Arduino UNO error. Is there a solution for this thanks?

crypteddj:
Yeah, I find the solution the problem was in the 144 line but I have a question now ı have an error compiling for Arduino UNO error. Is there a solution for this thanks?

You need to show the actual error, and the code that caused it.

And use code tags.

There was an extra bracket on 144. line ı solved it( My new code ı can't post it on here because of the line rule : CodePile | Easily Share Piles of Code). When ı am trying to verify ı am taking this error message :

exit status 1

Error compiling for board Arduino Uno.

No, the full error message.
And the full code.

Ah okay. I cant share full code from this forum because of the 9000 character limitation but here is the links of codes and error messages:
Full code: CodePile | Easily Share Piles of Code
Full error message : CodePile | Easily Share Piles of Code

Are you sure you've got enough LCD libraries?

Sorry, I forgot the sarcasm tags..
Yet again .

You'll notice that in the error messages, the word "error" occurs only once.

Well, which LCD device do you have?
And how is it connected?

.Are you going to help us help you, or is this all a big secret?

I cant share full code from this forum because of the 9000 character limitation

Attach the code to a post

Read the sticky at the top of the forum "Read this before posting a programming question".

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.