logo elektroda
logo elektroda
X
logo elektroda

[NodeMcu][ArduinoIDE] Cannot see tabs and variables when compiling weather station code

Jablonaack 669 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17147115
    Jablonaack
    Level 9  
    Hello

    I have been murdering with one problem for a few days. In my spare time I've been tinkering with the code for the weather station. Everything was moving forward slowly. The program was compiling and uploading normally without a moment's hesitation, until one time, for reasons unknown to me, it refused to work. I have no idea what happened. Suddenly it stopped seeing the attached tabs in ArduinoIDE where the functions are located. Likewise it doesn't recognise variables, even those in the main code. Any ideas?
    I'm also open to criticism and would love to know what would be good to change in the code.


    Error description:
    Code: Text
    Log in, to see the code
    .





    Below the code:

    Code: C / C++
    Log in, to see the code
    .

    Code: C / C++
    Log in, to see the code
    .

    Code: C / C++
    Log in, to see the code
    .


    Code: C / C++
    Log in, to see the code
    .
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 17147711
    Slawek K.
    Level 35  
    Change the directory names to ones without Polish letters and without spaces, i.e. Stacja_pogodowa_calosc for example, and try it.
    Arduino has a big problem with names with spaces, not to mention Polish tails.

    Greetings
  • ADVERTISEMENT
  • #3 17147882
    Jablonaack
    Level 9  
    Unfortunately, it did not help.
  • ADVERTISEMENT
  • Helpful post
    #4 17148585
    JacekCz
    Level 42  
    if you're claiming it's "sudden", after something very minor, it would be worth checking that all sorts of parentheses are up to par etc....
    Unfortunately you are posting in parts, and no one can help you
  • ADVERTISEMENT
  • #5 17148727
    Slawek K.
    Level 35  
    And where are the functions?
    void functionInterrupt()
    void read_temp_out ()

    It's best to show the whole code, because it's hard to say something like that. If you don't want to publicly in the thread then give on PW.

    Greetings
  • #6 17150028
    Jablonaack
    Level 9  
    JacekCz wrote:
    .
    if you're claiming it's "sudden", after something very minor, it would be worth checking that all sorts of parentheses are up to par etc....
    Unfortunately you are posting in parts, and no one can help you


    You were right, I ate the parenthesis and the main loop was not closed, causing so many errors to be thrown. Stupid oversight, and so much time wasted looking for the fault. I'll just correct that I uploaded all the code I wrote myself, and it's in parts because it's tabbed in ArduinoIDE. Thanks a lot to everyone for their efforts and forgive me for turning my head with a small thing.
ADVERTISEMENT