I have been googling and searhcing my butt off.

I have been googling and searhcing my butt off. Is there anyone that can spit me out some code for an attiny85 running a strand of ws2811. Nothing i do and no code i make or get seems to work.

Check out @Zeke_Koch post its a few days old and I believe has some sample code for the attiny85 running fastspi.

What are you using to program the attiny?

arduino 1.0.5

What version of the library are you using, and what is the code that you’re trying? The sample code that comes with the library should run on the attiny85. Also - which attiny85 are you programming - a bare one or something like a gemma or trinket?

board is an adafruit trinket.
in arduino using usbtinyisp as programmer

How do you have it wired up? Also - what code are you trying to run - can you paste it here or link to it on paste bin? (The more information you give, the better I can help you work out what’s going wrong)

i have a string of ws2811 pixels with the data wire going to pin0 and the power coming from a wall wart and going to the board and the pixels. I have not got any code to work yet except for the tutorial that got the onboard led to blink. Here is what I am trying to do. http://funkboxing.com/wordpress/?p=1366
alas he is using 4 wire pixels and a different controller.

Make sure blink works first. Then upgrade to firstlight. Remember that you need to set the right pin.

The FastSPI sample code works, but I also have code up there that works (look for santahat).

Try walking first - try out the FirstLight and RGBCalibrate examples in the FastSPI_LED2 library first - let me know what happens when you try to run them. Also - what I want to see is your code, the code that you’re trying to make run. Otherwise i’m just tossing darts in the dark about what may be going wrong with your setup.

i try rgbcalibrate and seems to work. No compile errors and it lets me upload it successfully. I say it works because onboard led is tied into led1 and i see it blinking every so often. The ws2811 strip turns on blue when i apply power to them but they never change.

Can you show me the exact code that you built and put on the device? Also, have you tried the other pins? Finally - make sure that the wiring is correct - it is important that ground on the strip shares ground with the trinket and that your data line is connected via DI (data in) and not DO (data out).

#define FORCE_SOFTWARE_SPI
#define FORCE_SOFTWARE_PINS
#include “FastSPI_LED2.h”

///////////////////////////////////////////////////////////////////////////////////////////
//
// Move a white dot along the strip of leds. This program simply shows how to configure the leds,
// and then how to turn a single pixel white and then off, moving down the line of pixels.
//

// How many leds are in the strip?
#define NUM_LEDS 49

// Data pin that led data will be written out over
#define DATA_PIN 0

// Clock pin only needed for SPI based chipsets when not using hardware SPI
//#define CLOCK_PIN 8

// This is an array of leds. One item for each led in your strip.
CRGB leds[NUM_LEDS];

// This function sets up the ledsand tells the controller about them
void setup() {
// sanity check delay - allows reprogramming if accidently blowing power w/leds
delay(2000);

  // Uncomment one of the following lines for your leds arrangement.
  // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);
  // FastSPI_LED2.addLeds<WS2811, DATA_PIN, GRB>(leds+18, NUM_LEDS/3);
  // FastLED.addLeds<WS2811, 8, RGB>(leds + 225, NUM_LEDS/4);
  // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<NEOPIXEL, DATA_PIN, RGB>(leds, NUM_LEDS);
  FastLED.addLeds<WS2811_400, DATA_PIN, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS);

  // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS);

  // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
  // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);

}

// This function runs over and over, and is where you do the magic to light
// your leds.
void loop() {
// Move a single white led
for(int whiteLed = 0; whiteLed < NUM_LEDS; whiteLed = whiteLed + 1) {
// Turn our current led on to white, then show the leds
leds[whiteLed] = CRGB::White;

  // Show the leds (only one of which is set to white, from above)
  FastLED.show();

  // Wait a little bit
  delay(100);

  // Turn our current led back to black for the next loop around
  leds[whiteLed] = CRGB::Black;

}
}

OK, first off - comment out the two defines at the top of the file - ws2811 timing is tight enough that the overhead is to much.

Next, you have ws2811_400 uncommented - are you sure your strip is the 400khz ws2811? You should try just ws2811.

Also, how are you connecting the pin on the trinket to the led strip?

it actually is changing them from blue to white and that is all

omg so happy they are doing something

ok the entire string start blue when it gets power and turns white after 2 seconds and that is all.

Which changes did you make to the code? Also, again - how are you connecting the pin to the strip - and have you tried other pins, yet?

Sorry had to check out to work. I am connecting it with a jumper on a breadboard.

and which of the changes that I suggested have you made to the code? Also - what version of the led library did you download?