#include <FastLED.h>

const CRGBPalette16 _fgPalettes[] = { 
  HeatColors_p,
  LavaColors_p,
  OceanColors_p
};

#define NUM_PALETTES (sizeof(_fgPalettes) / sizeof(CRGBPalette16))

const uint8_t _yellowPalettes[] = { 
  17, // Yellowout
  32  // Grintage
};

const u_int8_t *paletteArray = nullptr;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);

  Serial.println(NUM_PALETTES);
  Serial.println(sizeof(_yellowPalettes) / sizeof(u_int8_t));

  paletteArray = _yellowPalettes;
    if( paletteArray != nullptr ) {
    int numArrayPalettes = (sizeof(&paletteArray) / sizeof(u_int8_t)); 
    Serial.println(numArrayPalettes);
  }
}


void loop() {

  delay(10); // this speeds up the simulation
}