exit status 1
expected unqualified-id before '==' token
exit status 1
expected unqualified-id before '==' token
Hi!
it would be helpfull to have more details, like your whole code.
the message you get from the IDE should give you an indication of the location of the error in your code. A missing ";" or "}" could make a mess in the code!
In code tags, please.
Hello and thank you for your help, below is the entire error message
Arduino: 1.8.16 (Windows 7), Board: "Arduino Nano, ATmega328P"
Sketch uses 1052 bytes (3%) of program storage space. Maximum is 30720 bytes.Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.An error occurred while uploading the sketchavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xeaavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xea
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
i got this code from the website, we're trying to setup a grow for mushrooms, this is supposed to setup the mist humidifer
The code compiles OK. You have a problem with communication between the PC and Arduino. Try the suggestions in troubleshooting Arduino connections.
I am I the only one who can't see the code or the URL?
Hi, @1965mustang1965
Welcome to the forum.
We need to see your code?
The above instructions will show you how to post your code properly.
What model Arduino was the code written for?
What model Arduino are you using?
Can you please post a link to where you got your code?
Thanks... Tom...
This is a compiler-error
what you posted in post #4 is an upload-error
compiler-errors and upload-errors are completely different things
If you get a upload-error the compiling must have been successful
In programming you must be very precise to be successful. Between error 1
and error 2
It seems that you have changed to a code-version that does compile but then something was wrong with the connection between your microcontroller and the computer
best regards Stefan
this is different from the compiler error reported in post #1
No, it's a compilation error.
I got the upload of the code to the board working, do I need to do anything else to it, before I can use it?
What code would that be?
the code should run once it's downloaded
what is the code expected to do?
We're building a mushroom grow containing a humidity system
Auto mushroom shotgun chamber
@1965mustang1965 please go back and read post #9. People might want to help, but...
I will do so, and thank you for your help