I'm having troubles with FastLed using bit bang. The lights go haywire on software SPI flag.
I designed my board with the LEDs (APA102) on pin 11 & 13. Since being made, I now want to add an Ethernet W5500. I couldn't find a way for the Ethernet library to use SPI1 instead of SPI0, so the LEDs need to be switched to software bitbang and use the alternative hardware SPI0 pins for the Ethernet.
The LEDs still looks like they are getting the clock speeds & data from the Ethernet spi as the LEDs are going nuts, while the Ethernet connects fine to host. I remove the flag, and LEDs work normal, but the Ethernet can't connect.
Can Ethernet use SPI1, SPI2??
When using alternate hardware SPI0 pins, does that free up the default ones?
-Matt
Code:
#define FASTLED_FORCE_SOFTWARE_SPI //Ethernet gets the hardware pins
#define FASTLED_INTERNAL //Removes compiler pragma msgs
#include <FastLED.h>
I designed my board with the LEDs (APA102) on pin 11 & 13. Since being made, I now want to add an Ethernet W5500. I couldn't find a way for the Ethernet library to use SPI1 instead of SPI0, so the LEDs need to be switched to software bitbang and use the alternative hardware SPI0 pins for the Ethernet.
The LEDs still looks like they are getting the clock speeds & data from the Ethernet spi as the LEDs are going nuts, while the Ethernet connects fine to host. I remove the flag, and LEDs work normal, but the Ethernet can't connect.
Can Ethernet use SPI1, SPI2??
When using alternate hardware SPI0 pins, does that free up the default ones?
-Matt