Hello,
I am using the Teensy 3.2 microcontroller and the Prop shield to drive the LED strip. All of the other functions with the Teensy I have programmed work very well. I added the prop board by using stacking headers.
When I load the simple example code into Arduino IDE, and upload it to the Teensy, absolutely nothing happens. Not a single LED turns on, I have made sure the strip has 5v power and that the CLK/DAT pins are going to the Prop board correctly. I verified that the IN (start) of the strip is what was soldered with the pre-attached 4-pin wire harness. I even tried using an external 5v supply with common ground, but nothing.
The code I am using was taken from https://www.pjrc.com/store/prop_shield.html The page gives detailed example of how to simply use the Prop shield with DotStar LED strip, including pictures and the code below. Please help me to verify everything was done incorrectly.
Also, when I compile the program, I do get an error, I tried using both the build-in library and installing FastLED library using 'Manage Library'. Both return same error, show below:
Thanks
Stephen G.
I am using the Teensy 3.2 microcontroller and the Prop shield to drive the LED strip. All of the other functions with the Teensy I have programmed work very well. I added the prop board by using stacking headers.
When I load the simple example code into Arduino IDE, and upload it to the Teensy, absolutely nothing happens. Not a single LED turns on, I have made sure the strip has 5v power and that the CLK/DAT pins are going to the Prop board correctly. I verified that the IN (start) of the strip is what was soldered with the pre-attached 4-pin wire harness. I even tried using an external 5v supply with common ground, but nothing.
The code I am using was taken from https://www.pjrc.com/store/prop_shield.html The page gives detailed example of how to simply use the Prop shield with DotStar LED strip, including pictures and the code below. Please help me to verify everything was done incorrectly.
Also, when I compile the program, I do get an error, I tried using both the build-in library and installing FastLED library using 'Manage Library'. Both return same error, show below:
Code:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\FastLED/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.008
# pragma message "FastLED version 3.001.008"
^
Opening Teensy Loader...
Thanks
Stephen G.
Code:
#include <FastLED.h>
#define NUM_LEDS 120
CRGB leds[NUM_LEDS];
void setup() {
delay(2000); // sanity check delay
FastLED.addLeds<APA102, BGR>(leds, NUM_LEDS);
pinMode(7, OUTPUT);
digitalWrite(7, HIGH); // enable access to LEDs
}
void loop() {
// Move a single white led
for(int n = 0; n < NUM_LEDS; n++) {
leds[n] = CRGB::White;
FastLED.show();
delay(8);
leds[n] = CRGB::Black;
}
}
Last edited: