Newbie - Program Help

Hi All,

New to ardunio and try to make a home brewing system using ardunio and blynk

i have mangaed all as per the instructions but keep getting a message as per the attached photo, any pointers would be much apprciated.

I am using a uno board and a esp-12e if this is of help

thanks in advance and sorry if in the wrong section.

Don't post screenshots, copy and paste the error text here. There is even a button for the copy part in your screenshot.

I'm new as well, so stupid question, just in case: did you install the library from Tools/Manage Libraries ?

jslovi:
I'm new as well, so stupid question, just in case: did you install the library from Tools/Manage Libraries ?

i had a blynk libraries folder in the libraries folder. Move the files to libraries and has now worked

minibarrow:
i had a blynk libraries folder in the libraries folder. Move the files to libraries and has now worked

Cool :slight_smile:

Now have this error message.......Any ideas

'Timeprimary' was not declared in this scope

minibarrow:
Now have this error message.......Any ideas

'Timeprimary' was not declared in this scope

Read up on C++ scope

And post your code if you don't come right after that. Before posting, please read https://forum.arduino.cc/index.php?topic=148850.0 and pay specific attention to point #7 about posting code.

sterretje:
Read up on C++ scope

And post your code if you don't come right after that. Before posting, please read How to use this forum - please read - Website and Forum - Arduino Forum and pay specific attention to point #7 about posting code.

Thanks for posting the rules every reply and I understand they are there but are you ever going to give a sensible answer to my questions as a new user of arduino if not the please don't reply. TA

Timeprimary' was not declared in this scope

It means there is no variable called "Timeprimary" in the code you didn't post.

It also means that's another five minutes you've wasted

Thanks
Will look and post the code as mentioned in your message

Very helpful thank you

      //timeEstimate =
      Timeprimary -  days;

      if ((fermentTimeprimary - days) <= 0) {
        terminal.println("PRIMARY FERMENTATION DONE, MOVE TO SECONDARY OR BOTTLE. ADD SUGAR OR CO2 BEFORE BOTTLEING");
        terminal.flush();
        Blynk.email("minibarrow@gmail.com", "Brew Ready", "The fermentation time is over, the brew is ready.");
        brewStage = 9;
      }
      break;
    case 9:

      display.setTextSize(1);
      display.setTextColor(WHITE);
      display.setCursor(0, 0);
      display.println(" FINISHED");
      display.println();
      display.setTextColor(BLACK, WHITE); // 'inverted' text
      display.println("days:");
      display.println(days);
      display.println(temperature);
      display.print(hours);
      display.print(":");
      display.print(minutes);
      display.print(":");
      display.println(seconds);
      display.display();
      delay(5);
      display.clearDisplay();

      LCD1 = "BEER IS READY";
      LCD2 = "ADD SUGAR OR CO2";
      break;
    case 10:
      //What to do when Brewstage equals 10
      break;
    case 11:
      //What to do when Brewstage equals 11
      break;
    default:
      // if nothing else matches, do the default
      // default is optional
      break;
  }




}// end void loop

In that snippet, Timeprimary is not declared. Did youd declare it anywhere?

Further you commented out the line with timeEstimate; the next line is in this case useless.

minibarrow:
Thanks for posting the rules every reply and I understand they are there but are you ever going to give a sensible answer to my questions as a new user of arduino if not the please don't reply. TA

Read my post again; I gave a sensible answer in the first line. That you can't read is not my problem.

Am I able to send a whole sketch to see if anyone can see where my issues are with the primary time issue

Did you think we were maybe able to solve your problem with our psychic powers?

TheMemberFormerlyKnownAsAWOL:
Did you think we were maybe able to solve your problem with our psychic powers?

I assume this is a yes then. If so how and where. Thanks

Here, using code tags.

Tried to post code between `` but exceeds characters
see attached

complete_brewery.ino (15.3 KB)

This is like pulling teeth.

Where is the rest of the code?
The bit that comes before loop() ?

Sketches added

a_settings.ino (2.38 KB)

b_variables.ino (678 Bytes)

c_Setup.ino (1.03 KB)

complete_brewery.ino (15.8 KB)

d_functions.ino (4.96 KB)

wemosbrewery.ino (1.21 KB)

So, do I have to guess which bit goes with which other bit, or do you supply clues?

Why is "complete_brewery.ino" so very incomplete?