So, I just fired up my MatrixClock project, after updating to 3.0.1,

So, I just fired up my MatrixClock project, after updating to 3.0.1, and now I can’t compile it. Now, the only thing I updated was FastLED. Should I be updating Teensyduino, SmartMatrix, and so forth? The error I get is this:

This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.
Arduino: 1.0.5 (Windows NT (unknown)), Board: “Teensy 3.1”
MatrixClock.ino: In function ‘void setup()’:
MatrixClock:100: error: no matching function for call to ‘CFastLED::addLeds(CRGB [1024], int)’
MatrixClock.ino:100:42: note: candidates are:
In file included from MatrixClock.ino:3:0:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:98:95: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:98:95: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:109:113: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:109:113: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:120:129: note: 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)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:120:129: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:132:56: note: template static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:132:56: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:136:74: note: template<ESPIChipsets CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:136:74: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:140:97: note: template<ESPIChipsets CHIPSET, EOrder RGB_ORDER, unsigned char SPI_DATA_RATE> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:140:97: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:147:25: note: template<template class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:147:25: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:153:25: note: 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)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:153:25: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:159:25: note: template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:159:25: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:165:25: note: template<template class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:165:25: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:171:25: note: template<template class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:171:25: note: template argument deduction/substitution failed:
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:178:25: note: template static CLEDController& CFastLED::addLeds(CRGB*, int, int)
C:\Users\Twyst\Documents\Arduino\libraries\FastLED/FastLED.h:178:25: note: template argument deduction/substitution failed:

The name for the matrix was changed to minimize conflict with other libraries - you need to do addLeds<SMART_MATRIX>(leds, NUM_LEDS); now

Ah, wonderful. Thanks! Worked like a charm. Now to add a way to change the time on the clock. Darn Daylight Savings Time!

Daylight what? Oh - for you mole men that live where the sun don’t shine? :slight_smile:

Hey, it shines! Just… not all that much. ; _ ;

Anyone have experience with IRRemoteLib? I’ve got a basic setup for reading IR codes, but I can’t figure out how to detect if a button is held down to switch into/out of settings mode. Here’s the code I have:

http://hastebin.com/awilokowaj.coffee

Also, there is an IRCODE_HELD constant, of 0xFFFFFFFF, so the remote itself says it’s held down, I just can’t brain today.

Here’s the code I’ve used for IR control in several projects. It allows me to know the difference between a short press and a long hold of the same button. The problem I had was that even what seems like a short press of the button can be long enough for the held code to be sent. Check out readIRCode on line 171: https://github.com/jasoncoon/APA102_Teensy_IR/blob/master/Commands.h