I can't seem to find maths routines (e.g sin8) from within an arduino sketch:-

I can’t seem to find maths routines (e.g sin8) from within an arduino sketch:-

#include “FastLED.h”
int x;
#define NUM_LEDS 60

void loop() {
// Turn the LED on, then pause

for (int i=0; i<= NUM_LEDS; i++) {
x = sin8(i);
}
}

reports that sin8 was not declared.

The fastled is a new install, and I can address leds etc ok.

Ian

Replace your current version with this one: https://github.com/FastLED/FastLED/tree/FastLED2.1

FastLED 2.1 is not yet Master.