New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32u4 + Neopixel not working #492

Open
NicoHood opened this Issue Sep 4, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@NicoHood
Contributor

NicoHood commented Sep 4, 2017

#include "FastLED.h"
CRGB leds[1];
void setup() {
  FastLED.addLeds<NEOPIXEL, 11>(leds, 1);
}

void loop() {
  leds[0] = CRGB::Red;
  FastLED.show();
  delay(500);
  leds[0] = CRGB::Black;
  FastLED.show();
  delay(500);
}

This is not functional with Arduino Leonardo. The same sketch is working on my Uno. I made sure the pin is correct, by blinking an led on the same pin also. Using IDE 1.8.4 with archlinux. Tested with packaged avr-gcc (4.9) and upstream avr-gcc (7.1). I have no other chipsets to test. Issu occurs with master branch and 3.1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment