Profile

Cover photo
Gleb Gudkov
Lives in SF
203 followers|44,607 views
AboutPostsPhotosVideosReviews

Stream

Gleb Gudkov

Support  - 
 
Hey guys, first time Fastled user, checking if i'm doing something wrong.

Adafruit Flora (16MHz ATmega32u4) + 16led Neopixel Ring (WS2812).

Only 5 pixels blink (0,1, 13,14,15 for some reason), and badly flicker when using the palette example. Everything works fine when using NeoPixel library.

Important parts of code:
#include <FastLED.h>
#define NUM_LEDS 16
#define DATA_PIN 12
#define LED_TYPE WS2812 (also tried NEOPIXEL)
#define COLOR_ORDER GRB

CRGB leds[NUM_LEDS];
FastLED.addLeds<LED_TYPE, DATA_PIN, COLOR_ORDER>(leds, NUM_LEDS);

Tried a few other combinations of initializing, but no luck. I see Flora support checked in :-\
1
Mike Thornbury's profile photoDavid Brailovsky's profile photoDaniel Garcia's profile photo
12 comments
 
+Mike Thornbury depends on the board - you can change the clock speed the 5v trinket runs at with a line of code (https://learn.adafruit.com/introducing-trinket/16mhz-vs-8mhz-clock) - also the teensy 3.x gives you a variety of clock speeds.

The main reason you can't push the flora to 16mhz is because it is running at 3.3v, which limits it to 8mhz.

But the clock crystal rarely locks you into a single clock rate. 
Add a comment...
Have him in circles
203 people
Лиза Гудкова's profile photo
Valentin Tsay's profile photo
DJ Playdoughboy's profile photo
nazar hasrat's profile photo
Mike Mint's profile photo
paul luthuli's profile photo
Irine Izmailov's profile photo
andy lee's profile photo
Carl Dorrington's profile photo
People
Have him in circles
203 people
Лиза Гудкова's profile photo
Valentin Tsay's profile photo
DJ Playdoughboy's profile photo
nazar hasrat's profile photo
Mike Mint's profile photo
paul luthuli's profile photo
Irine Izmailov's profile photo
andy lee's profile photo
Carl Dorrington's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
SF
Links
Story
Introduction
These are not the droids you're looking for...
Basic Information
Gender
Male
Excellent food and ambience. Pear cobbler is to die for.
Public - 2 years ago
reviewed 2 years ago
1 review
Map
Map
Map