Giter Site home page Giter Site logo

Comments (6)

elbowdonkey avatar elbowdonkey commented on August 25, 2024

What specific Arduino are you using? If it's an Arduino 101 or Genuino 101 (which use 32bit Intel Curie chips) you'll see this error. AFMotor isn't currently working for the Curie chips yet.

Adding support shouldn't be too hard but will take some time and research. I may need to add support or use different hardware for a project I'm working on. I haven't decided yet. If I do end up working on it, I'll be submitting a pull request here.

from adafruit-motor-shield-library.

jsharf avatar jsharf commented on August 25, 2024

Unfortunately this fix is pretty half-baked, but I modified the library to still compile on non-AVR and non-PIC boards like the Arduino 101 (Intel Curie Core)

My modifications currently only support DC motors (and not stepper motors) and don't support setting the frequency of the control signal.

You can find the source code here:

https://github.com/jsharf/Adafruit-Motor-Shield-library

And you can find the slightly modified library in the Arduino library manager. If I decide to work on stepper motor support, I'll submit a pull request to make this more widely available.

from adafruit-motor-shield-library.

ladyada avatar ladyada commented on August 25, 2024

this library deprecated, use v2 of the library, supported by all arduinos!

from adafruit-motor-shield-library.

jsharf avatar jsharf commented on August 25, 2024

Wait does V2 of the library support the original Adafruit Arduino motor shield? I own one of these things and would be pretty sad if it's just totally unsupported now.

from adafruit-motor-shield-library.

ladyada avatar ladyada commented on August 25, 2024

it is totally unsupported at this time, we haven't sold it for 3 or 4 years...since its release there are dozens of arduinos each with different pin configs and timers, it was not maintainable to keep the old version.
It still works with the UNO it was released for (well, at the time it was the Diecimilla!)

from adafruit-motor-shield-library.

DaveCasey avatar DaveCasey commented on August 25, 2024

Please disregard my earlier comment, I got it working with an UNO.

from adafruit-motor-shield-library.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.