Arduino Library Install Clarification for Windows

Shop Forum Makelangelo Polargraph Art Robot Arduino Library Install Clarification for Windows

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #6148
    EdmondsLibrarian
    Participant

    Thanks for your wonderful install guides with pictures.
    It appears that I am doing something not quite right about moving the needed Arduino library(s) to support the Makelangelo. I’ve looked at quite a few guides on the web including the Arduino and the Sparkfun
    http://www.arduino.cc/en/Guide/Libraries
    https://learn.sparkfun.com/tutorials/installing-an-arduino-library

    1
    The firmware is at
    https://github.com/MarginallyClever/Makelangelo-firmware/releases/tag/1.0.0

    2
    The firmware (zip) file expands and has a folder
    frimware_ams folder
    Then inside this there are two more folders Adafruit_MotorShield and AFMotorDrawbot with a firmware_ams (ino) and Vector3.h file

    3a-
    I’m pretty sure I want to put the move the “proper” files in the the MyDocuments / Arduino / libraries /

    3b- Uncertainty
    What goes in the libraries folder? I don’t seem to be making the right choice. I’ve tried
    a- the firmware_ams folder
    b- the two sub folders

    a result is Arduino: 1.6.5 (Windows 7), Board: “Arduino/Genuino Uno”
    firmware_ams.ino:126:28: fatal error: AFMotorDrawbot.h: No such file or directory
    compilation terminated.
    Multiple libraries were found for “Vector3.h”
    Used: C:UsersborchertpDocumentsArduinolibrariesfirmware_ams
    Not used: C:Program FilesArduinolibrariesfirmware_ams
    Error compiling.”

    Could any users send a screenshot of the final layout of the libary files?
    It will probably solve my Windows 7 & 8 problems…
    Thanks you.

    #7213
    Anonymous
    Inactive

    Directory should be

    C:UsersXXXXXXXXDocumentsArduinolibraries

    Then you should have 2 folders
    Adafruit_MotorShield
    with Adafruit_MotorShield.cpp and Adafruit_MotorShield.h in it
    and
    AFMotorDrawbot
    with AFMotorDrawbot.cpp and AFMotorDrawbot.h in it

    the vector one is does not need to be in your library, I believe it may be in Ardunio’s default library.

    Hope that works

    #7214
    EdmondsLibrarian
    Participant

    Thanks for the confirmation.
    There appears to be another issue. Any ideas?
    Here are some screen shots.
    /My Documents / Arduino / Libraries

    https://drive.google.com/file/d/0Bzmn5pYsAKsWeDBXNWo1ZW9kT3c/view?usp=sharing

    Error code running Firmware_Ams (ino)

    https://drive.google.com/file/d/0Bzmn5pYsAKsWNHJtcmFGbWJxSTA/view?usp=sharing

    Device Manager Showing Uno Board on COM 3

    https://drive.google.com/file/d/0Bzmn5pYsAKsWa1BpcW9PTTctVEk/view?usp=sharing

    What else needs modified?

    #7215
    Anonymous
    Inactive

    The latest firmware released today should fix the problem.

    A line was missing from the top:

    #include 

    EDIT: I am wrong. this is not the fix. AFMotor.h should not be called at all, ever.

    #7216
    EdmondsLibrarian
    Participant

    I downloaded the newest firmware update (10/31) just 2 hours old. 🙂

    Put the 2 folders in C:UsersXXXXXXXXDocumentsArduinolibraries
    1 Adafruit_MotorShield-with Adafruit_MotorShield.cpp and Adafruit_MotorShield.h in it and
    2 AFMotorDrawbot-with AFMotorDrawbot.cpp and AFMotorDrawbot.h in it

    The newest code #include is included in the file Firmware_AMS Arduino sketch.

    It doesn’t compile due to AFMotor.h – No such file or directory. Screenshot:

    https://drive.google.com/file/d/0Bzmn5pYsAKsWanJFWGw1Y1lFd3c/view?usp=sharing

    How can I squash the bug?

    #7217
    Anonymous
    Inactive

    Exact same error

    #7218
    Anonymous
    Inactive

    I’m looking into it now.

    #7219
    EdmondsLibrarian
    Participant

    The New firmware update has solved this issue. Thank you so much for your assistance.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.