Arduino Forum
>
Products
>
The Arduino Starter Kit and Basic Kit
>
Relay Library
Print
Go Down
Pages:
[1]
Topic: Relay Library
(Read 2210 times)
previous topic
-
next topic
burningspear
Newbie
Posts: 2
Karma: 0
[add]
Relay Library
Feb 04, 2020, 03:55 pm
I have combined a servo sketch with a relay sketch. They both work separately but not together. The sketch verifies but will not upload. Is there a library for the relay I need to download?
pert
Global Moderator
Brattain Member
Posts: 27,863
Karma: 2758
[add]
https://github.com/per1234?tab=repositories
Re: Relay Library
#1
Feb 04, 2020, 05:47 pm
An upload problem will never be caused by a missing library. If the sketch verifies, then you have all the libraries.
Please do this:
(In the Arduino IDE) File > Preferences
Uncheck the checkbox next to "Show verbose output during: compilation"
Check the checkbox next to "Show verbose output during: upload
Click "OK"
Sketch > Upload
After the upload fails, you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
In a forum reply here, click on the reply field.
Click the
</>
button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will
paste
the upload output between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
burningspear
Newbie
Posts: 2
Karma: 0
[add]
Re: Relay Library
#2
Feb 04, 2020, 06:04 pm
thanks, I will let you know if it works.
pert
Global Moderator
Brattain Member
Posts: 27,863
Karma: 2758
[add]
https://github.com/per1234?tab=repositories
Re: Relay Library
#3
Feb 04, 2020, 06:06 pm
My instructions won't make it work. They are intended to give us the information we need to help you fix the upload error.
Print
Go Up
Pages:
[1]
Loading...