So when using my UNO it won't download code but is one the correct port.(tried a simple println and doesn't work and same with LED) this also happens with firmta update, what I get back is "Sketch uses 1536 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 200 bytes (9%) of dynamic memory, leaving 1848 bytes for local variables. Maximum is 2048 bytes.".
But nothing prints back throught the command AND THERE IS NO CODE ISSUES.
Plz help i beg
-
Just making sure, you do an 'upload' and not a 'compile'?
-
After the message about the memory usage, does the title bar above the output pane (the black window) go orange/red? If so, there was an error. There was another thread where somebody said that there were no errors while there actually were, so I like to check this.
-
To further trouble shoot
3a)
In the IDE, file -> preferences. Tick the checkboxes under 'show verbose output during:' for 'compilation' and for 'upload'. Save the changes.
3b)
Compile and upload the sketch. You will see a lot of text in the output pane.
3c)
Place the cursor in the output pane (it's scrollable), select all text and paste it in a text file.
Attach the text file here; you need to use the reply button to reply to be able to attach files, the attach functionality is not available in 'quick reply'.
First Thank you for replying! 
-
Yes I am clicking upload
-
No error is shown
-
Here you go:
ArduinoError_Dec12-18.txt (12.2 KB)
OK, no errors.
The only thing I can think of is that it's still compiling an older version of a sketch. And one reason for that might be the fact that you use the store app. It's often said that it shows strange behaviour and this might be one of them. Uninstall it and install IDE 1.8.5 or maybe 1.8.8; the latter is very new so might have some issues, 1.8.5 is known to be good (you need to upgrade the board manager to version 1.6.21 (and not higher) if you use older Nanos).
Okay I used the 1.8.5 and this is my output I just wanted to give it to you so you could see as well.
error.txt (619 Bytes)
The top error txt suggested a good upload.
Wonder if it is worth you including your actual sketch that seems to fail. ( Code tags please ( </> ) )
The second error seems incomplete so you might want to turn on VERBOSE for UPLOAD (in preferences)
Sorry forgot to re-add verbose onto the 1.8.5 since i moved to that from 1.8.8 version of the IDE.
Now for my error role what is in the txt file is what I get. (I am placing it in the txt file for less clutter on the page.)
error2.txt (33.7 KB)
No errors in the file in reply #6. The below indicates that upload was succesfull.
Reading | ################################################## | 100% 0.19s
avrdude: verifying ...
avrdude: 1518 bytes of flash verified
The 1518 is the same as the reported size of the sketch.
So there is something else wrong. Is there anything connected to your Uno? Please post your sketch (as requested by ballscrewbob).
I do not have anything connected except the usb to the arduino. the code in the void loop is exactly
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("hello");
delay(1000);
}
So yeah...
Your setup() is missing a Serial.begin().
void setup() {
// put your setup code here, to run once:
Serial.begin()
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("hello");
delay(1000);
}
I have used this code with the same model just a different board at school without the begin so I dont know anymore man xD
error3.txt (6.41 KB)
Never mind I found the problem on my own super sorry about the time you put in but thank you alot for it!
Really appreciate it! THANKS AGAIN 