https://github.com/magicmonkey/mm_dotstar
Fork of Adafruit_DotStar with support for using a second SPI port to drive the LEDs
https://github.com/magicmonkey/mm_dotstar
Last synced: about 1 year ago
JSON representation
Fork of Adafruit_DotStar with support for using a second SPI port to drive the LEDs
- Host: GitHub
- URL: https://github.com/magicmonkey/mm_dotstar
- Owner: magicmonkey
- License: gpl-3.0
- Created: 2021-11-13T13:59:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-13T14:03:55.000Z (over 4 years ago)
- Last Synced: 2025-01-26T12:27:56.395Z (about 1 year ago)
- Language: C++
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
# Fork of Adafruit DotStar with a patch from yngndrw
Arduino library for controlling two-wire-based LED pixels and strips such as Adafruit DotStar LEDs and other APA102-compatible devices.
This version has a patch from yngndrw (from pull request https://github.com/adafruit/Adafruit_DotStar/pull/20) to enable use of a different SPI port. For example, if a sercom is used on an M0 to define a second SPI port, then this patch allows that port to be used for the DotStar LEDs.
Attaching a DotStar strip to an M0 Adalogger or an M0 WiFi would normally need software SPI running the LEDs (as there are peripherals hard-wired into the pre-defined SPI port), but since a second SPI port can be defined using the M0's sercom capability then this library allows that second hardware SPI port to drive the DotStar LED strip.
## Usage
Clone this repo into your Arduino libraries directory (e.g. `~/Arduino/libraries`)