Skip to content
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

Added support for SPI constructor to enable Hardware SPI #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joecampbell
Copy link

Adafruit_ADXL345_Unified constructors do not support alternatives hardware SPI devices.

The Adafruit_SPIDevice supports selecting the hardware SPI VSPI (pins 19, 18, 5, 23), but this library does not expose that capability.

This library should support using a hardware SPI.

The ESP32, for instance, has 3 hardware SPIs: SPI, HSPI, and VSPI

@joecampbell
Copy link
Author

Fix for #33

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

Successfully merging this pull request may close these issues.

1 participant