I have update firmware and also pull the files from git, but my external LED display the all of color(RGB), and there is no action that associate with the RGB LED on the Board. What happen?
void ledChangeHandler(uint8_t r, uint8_t g, uint8_t b)
{
analogWrite(redLED, r);
analogWrite(greenLED, g);
analogWrite(blueLED, b);
}
void setup(void)
{
pinMode(redLED,OUTPUT);
pinMode(greenLED,OUTPUT);
pinMode(blueLED,OUTPUT);
RGB.onChange(ledChangeHandler);
//Server to Client(Photon) command
Spark.function("setLive", startLivePublish);
#if TESTING
#endif
}