Could someone let me know if FastLED will work on a digistump oak?
I got some errors about hardware SPI when I compiled a simple sketch, and am wondering if that’s due to it not having a crystal? I used the workaround to use “#define FASTLED_FORCE_SOFTWARE_SPI”, which let it compile and upload, but I’m not getting anything from the strip.
Just curious if this is on the board capability side or my code?
#define FASTLED_FORCE_SOFTWARE_SPI
#include "FastLED.h"
// fast led constants and initialize
#define DATA_PIN 4
#define LED_TYPE WS2812B
#define COLOR_ORDER GRB
#define NUM_LEDS 28
CRGB leds[NUM_LEDS];
void setup() {
delay(2000);
FastLED.addLeds<LED_TYPE, DATA_PIN, COLOR_ORDER > (leds, NUM_LEDS).setCorrection(TypicalLEDStrip);
FastLED.setBrightness(200);
pinMode(1, OUTPUT);
}
// threw in output to pin1 board LED so I knew the loop was running
void loop() {
fill_solid(leds, NUM_LEDS, CHSV(0, 255, 200));
digitalWrite(1, HIGH);
FastLED.show();
delay(1000);
fill_solid(leds, NUM_LEDS, CHSV(0, 0, 0));
digitalWrite(1, LOW);
FastLED.show();
delay(5000);
}
Anything look awry, or is someone familiar enough with these to definitively say if it should work? Thanks!
Looks to me as there is a ESP8266 under the hood.
Load in your board manager
http://arduino.esp8266.com/stable/package_esp8266com_index.json
and try generic ESP8266 module; reset method: nodemcu. Check pin assignment http://www.esp8266.com/viewtopic.php?f=18&t=1738
Pin 5 = Data if you want HW-SPI (Pin 4 = CLK)
Well, I ended up with what I think is a hardware or setup issue. After flashing a blink sketch successfully, i uploaded the above and connected the strip to pin 4, vcc and gnd. Nothing happened which was why I wondered about compatibility. Since then, I’ve not been able to successfully upload 
Arduino uploads to http://particle.io and then times out during the flashing/reboot process. I also found that my board loses WiFi after about 2min. It connects after powering on/off but then disconnects, or so it appears.
So, I think the issue was just well timed with when I uploaded this. I think it’s looking like a different problem now. Thanks for the input and I’ll post back when I can flash sketches again.
AVOID for the time being… I bought two of them in the kickstarter, and although not entirely their fault, i havnt got mine up and running yet. Nada, nothing… Go for a particle photon. Wireless uploading?! Just cant get over it!
@Derek_Hyams I was a backer, too
I’ve got mine going though with quite a bit of frustration. Agreed that something isn’t quite right at this point. I’m pretty sure I bricked one of mine trying to upload a ESP8266 example sketch to it. And I mean really bricked – no LED on pin1, doesn’t come up as a wifi AP anymore even with p1 jumped to ground… the other one has started misbehaving several times but I was able to restore it via serial, followed by another round of OTA firmware update attempts. Takes me anywhere from 2-10+ tries to get it to do that first download 