Jump to content
ELFORUM - Forumul electronistilor
yo7but

Programare ARDUINO NANO

Recommended Posts

Salut,

Va rog sa ma ajutati sa incarc un programel (are extensia "ino") intrun arduino nano. Am un programator USBavr. Ce soft sa folosesc si cum procedez. Mentionez ca lucrez prima data cu arduino.

Multumesc.

 

Link to post
Share on other sites

Multumesc pentru ajutor. Am urmat pasii dar imi da eroare "No such file or directory" la linia din program "#include <Adafruit_GFX.h>.

Am descarcat de pe net acet fisier dar nu stiu unde sa-l salvez ca sa-l "vada".

Pt. FloreaIon : da, are USB, asa l-am legat la PC dar imi da acea eroare.

 

Link to post
Share on other sites

in "librarie". Dezarhivat, daca e cazul.

Eu, ca sa nu am probleme, in directorul proiectului copiez sibschetch-urile cu care merge.

E mai usor de lucrat  in viitor, daca mai trebuie.

Edited by yo7lhe
completare
Link to post
Share on other sites

Am rezolvat cu ADAFRUIT dar a aparut o eroare la linia "#rotary.h". Am descarcat de pe net biblioteca rotary dar tot imi da eroarea "IcomFM:16:10: fatal error: rotary.h: No such file or directory
 #include <rotary.h>
          ^~~~~~~~~~
compilation terminated.
exit status 1
rotary.h: No such file or directory

 

Ce-i mai trebuie ?

 

Link to post
Share on other sites

A, si inca ceva, c++ e case sensitive, verifica numele fisierului in biblioteca, sa fie scris la fel ca in program.

De unde ai descarcat biblioteca (link)?

Edited by Liviu M
Link to post
Share on other sites

@yo7but daca ai biblioteca pentru encoder de aici https://github.com/brianlow/Rotary inlcuieste in cod #include <Rotary.h> (cu r mare)

"Instalarea" bibliotecii e mult spus, o poti instalat din manager (daca exista), dintr-o arhiva zip (de ex aia de pe git) sau cu copy/paste.

Nu iti atasez hex-ul deoarece trebuie sa-l compilezi singur, poate vrei sa faci modificari si sa nu depinzi mereu de cineva,

Edited by Stefan
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines