Comments (9)
The adafruit_pca9685.motor.DCMotor class AND adafruit_pca9685stepper.Steppers() both show 0x60 as the default address. I think they both should be 0x40 since the Adafruit board has a default address of 0x40.
If you agree i can make this change.
from adafruit_circuitpython_bundle.
Thanks for finding this @notthatbrad and @mrmcwethy! Would either of you be willing to submit a pull request to fix it?
from adafruit_circuitpython_bundle.
I'm pretty new to github, so not sure if I would be the best to do that, but I'll be happy to do anything I can. I can say that updating the motor.py file locally to 0x40 on my pc has corrected the error.
@mrmcwethy it failed looking for one on 0x40? Did you have a PCA9685 connected?
from adafruit_circuitpython_bundle.
@notthatbrad I don't have that board, so I did expect to get that error. It just means i didn't make a big mistake and add syntax errors and i proved that the default address is now 0x40. I am going to release my changes.
from adafruit_circuitpython_bundle.
Groovy, that's why I was wondering. I had accidentally hooked mine up backwards earlier, and I got the error as well on code that I knew should be working.
Let me know when the changes are made, and I'll download the new version to test as soon as I can.
from adafruit_circuitpython_bundle.
Fixed in the driver commit: adafruit/Adafruit_CircuitPython_PCA9685@c227c10
I'll leave this open until we release a new version.
from adafruit_circuitpython_bundle.
FYI, 0x60 makes sense for motors and stepper motors because its the default address of the motor featherwing. The servowing is 0x40 by default. I'm fixing this up with my rework of the PCA9685 drivers.
from adafruit_circuitpython_bundle.
So it is (I just got the motor featherwing, and am testing it now)....but if I recall correctly, when using the PCA9685 breakout, the address is is 0x40, and the learn site has the featherwing documented as 0x40.
https://learn.adafruit.com/adafruit-8-channel-pwm-or-servo-featherwing/pinouts
This could be really confusing for people looking for the driver for the PCA9685 breakout
from adafruit_circuitpython_bundle.
from adafruit_circuitpython_bundle.
Related Issues (20)
- Many libraries with bad circup instructions HOT 5
- FR: Add type hints to circuit python libraries HOT 1
- Include import names in the library list HOT 1
- "Drivers" vs "Helpers" is not so helpful as a top-level distinction HOT 1
- Note that adafruit_bus_device and adafruit_pixelbuf are available as native
- AttributeError: module 'pulseio' has no attribute 'PulseOut' HOT 1
- Add NAU7802
- Bundle being rebuilt with no library changes HOT 4
- LSM6DS libraries were combined drivers.rst needs updated
- key stuck with macropad HOT 4
- adafruit_neopxl8.mpy doesn't have NeoPixel attribute
- request - port TM1640 driver from micropython
- Source code release zip is mostly empty directories. HOT 6
- mcp2515 error
- Adafruit_CircuitPython_Bundle-main HOT 1
- ValueError: incompatible .mpy file
- TypeError: object of type 'Pin' has no len() HOT 1
- Libraries: docs/conf.py gives version as "1.0"
- docs/drivers.rst does not include import name
- Request Inclusion of .MPY Files in Github Repository HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_circuitpython_bundle.