Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling #10

Open
ghost opened this issue Oct 10, 2019 · 1 comment
Open

Error compiling #10

ghost opened this issue Oct 10, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 10, 2019

Hi
i have used your example code to drive servo but while uploading
Here's the error. Thanks !!!

libraries/Servo8Bit-master/example.cpp.o (symbol from plugin): In function delayMicroseconds(unsigned int)': (.text+0x0): multiple definition of main'
sketch/sketch_oct10c.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board ATtiny25/45/85.

@maxgerhardt
Copy link

libraries/Servo8Bit-master/example.cpp.o (symbol from plugin): In function delayMicroseconds(unsigned int)': (.text+0x0): multiple definition of main'

Remove the examples.cpp file from the libraries folder, otherwise its logic will overwrite your sketch logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant