Prop shield and WiFi101, how to manage multiple SPI slaves

Status
Not open for further replies.

farfygedd

New member
Hi there,

I'm trying to get a sketch running that uses both the FastLED library over SPI with the Prop Shield and also an atwink1500 adafruit module with WiFi101 at the same time.
I've got both working separately and I understand that when using multiple SPI slaves I have to manage CS(chip-select) pins. The issue I'm having is figuring out how the WiFi101 library uses the CS pin, I've looked over the source and it's not apparent to me.
If anyone could give me some clues that would be incredibly helpful as I've hit a brick wall on this one.
 
Hi farfygedd,

I had a similar problem with FastLED and another SPI slave. In my case it was FastLED and the SPI memory on the Prop Shield that were not (playing nice together ). I think the issue is that FastLED has it's own SPI implementation and does not work well with SPI.h. I never found a satisfactory solution and switched to Adafruit's Neopixel library, which does use SPI.h. That solved my problem.

Regards,

John
 
Status
Not open for further replies.
Back
Top