Go Down

Topic: Issue uploading with a passive buzzer (Read 251 times) previous topic - next topic



I'm having a bit of a problem uploading code to my Elego Uno R3 board where I get a getsync not in sync error with the board. This only happens when a passive buzzer is connected to pin 0. If I remove the wire from pin 0 it allows me to upload straight away, but if the buzzer is connected it won't work.

Pin 0 is connected to the positive side of the buzzer which then goes into a resistor to, and then back to ground. I removed the resistor and it still gave the same problem.

How do I fix this? Is it an issue with the code, or a is there another fix?



Oh, I just realised that pin 0 is a receiving pin. It did work, and did produce a tone of the right frequency but wouldnt allow me to upload it. Moving the buzzer to pin 3 now works.

Go Up