mjs513
Senior Member+
I am getting numerous compile errors using a T3.5 with prop shield and adafruits Dotstar strip while using FastLED. I am using IDE1.8.3/Teensyduino 1.38beta1 on a windows 10 machine. I tried a compile for a T3.2 and it compiled without errors. The pragma message I am getting is "FastLED version 3.001.005". Hope this is the latest. Anyway here is sketch with the error messages following:
Errors:
Code:
#include <FastLED.h>
#define NUM_LEDS 10
CRGB leds[NUM_LEDS];
void setup() {
delay(2000); // sanity check delay
FastLED.addLeds<DOTSTAR, RGB>(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;
}
}
Errors:
Code:
In file included from C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:1:0:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:558:2: warning: #warning "No pin/port mappings found, pin access will be slightly slower. See fastpin.h for info." [-Wcpp]
#warning "No pin/port mappings found, pin access will be slightly slower. See fastpin.h for info."
^
In file included from C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:1:0:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.005
# pragma message "FastLED version 3.001.005"
^
In file included from C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,
from C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:1:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
^
FASTLEDTEST: In function 'void setup()':
FASTLEDTEST:8: error: no matching function for call to 'CFastLED::addLeds(CRGB [10], int)'
FastLED.addLeds<DOTSTAR, RGB>(leds, NUM_LEDS);
^
In file included from C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:1:0:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:218:129: note: candidate: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER, unsigned char SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:218:129: note: template argument deduction/substitution failed:
C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:8:47: note: couldn't deduce template parameter 'CLOCK_PIN'
FastLED.addLeds<DOTSTAR, RGB>(leds, NUM_LEDS);
^
In file included from C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:1:0:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:231:95: note: candidate: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:231:95: note: template argument deduction/substitution failed:
C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:8:47: note: couldn't deduce template parameter 'CLOCK_PIN'
FastLED.addLeds<DOTSTAR, RGB>(leds, NUM_LEDS);
^
In file included from C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:1:0:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:244:113: note: candidate: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:244:113: note: template argument deduction/substitution failed:
C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:8:47: note: couldn't deduce template parameter 'CLOCK_PIN'
FastLED.addLeds<DOTSTAR, RGB>(leds, NUM_LEDS);
^
In file included from C:\Users\CyberPalin\Documents\Arduino\FASTLEDTEST\FASTLEDTEST.ino:1:0:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:293:25: note: candidate: template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:293:25: note: template argument deduction/substitution failed:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:299:25: note: candidate: template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:299:25: note: template argument deduction/substitution failed:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:305:25: note: candidate: template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:305:25: note: template argument deduction/substitution failed:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:341:25: note: candidate: template<template<EOrder RGB_ORDER> class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:341:25: note: template argument deduction/substitution failed:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:347:25: note: candidate: template<template<EOrder RGB_ORDER> class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:347:25: note: template argument deduction/substitution failed:
FASTLEDTEST:8: error: wrong number of template arguments (2, should be 1)
FastLED.addLeds<DOTSTAR, RGB>(leds, NUM_LEDS);
^
Multiple libraries were found for "FastLED.h"
Used: C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED
Not used: C:\Local Programs\arduino-1.8.3-c14\hardware\teensy\avr\libraries\FastLED
no matching function for call to 'CFastLED::addLeds(CRGB [10], int)