Skip to content

Arduino IDE #1

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

Open
CBis817 opened this issue Jan 23, 2018 · 2 comments
Open

Arduino IDE #1

CBis817 opened this issue Jan 23, 2018 · 2 comments

Comments

@CBis817
Copy link

CBis817 commented Jan 23, 2018

Hello
I am new to this and i need help to figure out the problem.
I am trying to build my slider and fount your program. Super excellent.
When i do :
Arduino IDE
Open the sketch, add the Bounce2 and AccelStepper libraries, and click the check mark.
This is what i get
..........
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\UTILIS1\AppData\Local\Temp\arduino_build_176327\core\core.a" "C:\Users\UTILIS1\AppData\Local\Temp\arduino_build_176327\core\new.cpp.o"
Archiving built core (caching) in: C:\Users\UTILIS1\AppData\Local\Temp\arduino_cache_405005\core\core_arduino_avr_mega_cpu_atmega2560_0c812875ac70eb4a9b385d8fb077f54c.a
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o "C:\Users\UTILIS
1\AppData\Local\Temp\arduino_build_176327/Slider.ino.elf" "C:\Users\UTILIS1\AppData\Local\Temp\arduino_build_176327\sketch\Slider.ino.cpp.o" "C:\Users\UTILIS1\AppData\Local\Temp\arduino_build_176327\libraries\Bounce2\Bounce2.cpp.o" "C:\Users\UTILIS1\AppData\Local\Temp\arduino_build_176327\libraries\AccelStepper\AccelStepper.cpp.o" "C:\Users\UTILIS1\AppData\Local\Temp\arduino_build_176327\libraries\AccelStepper\MultiStepper.cpp.o" "C:\Users\UTILIS1\AppData\Local\Temp\arduino_build_176327/core\core.a" "-LC:\Users\UTILIS1\AppData\Local\Temp\arduino_build_176327" -lm
C:\Users\UTILIS~1\AppData\Local\Temp\ccBOb1Vt.ltrans0.ltrans.o: In function `main':

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `setup'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:46: undefined reference to `loop'

collect2.exe: error: ld returned 1 exit status

Utilisation de la bibliothèque Bounce2 version 2.3 dans le dossier: C:\Users\Utilisateur\Documents\Arduino\libraries\Bounce2
Utilisation de la bibliothèque AccelStepper version 1.57.1 dans le dossier: C:\Users\Utilisateur\Documents\Arduino\libraries\AccelStepper
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560

@CBis817
Copy link
Author

CBis817 commented Feb 22, 2018

Thanks very much
i am able to see in the ide all the files.
I am trying to figure out now how to wire things up.
In the config.hpp i can see the pin to wire to but my question is the steppers needs 4 pins out and i can only see one pin the pin 2 and 3 for each motors.
Can you provide me with a quick diagrammon how to wire things up.
It would be so appreciated.

@CBis817
Copy link
Author

CBis817 commented Feb 22, 2018

e4ba692b-50ab-4e60-8258-b9f0ef2b5abc

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