Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Using DEFINE_GRADIENT_PALETTE And Serial.print breaks app #780
If I define a Palette from the define Macro and contain a Serial.print println or write in the loop and CRGBPalette16 name = othername is present the app will not work.
I might have some lack of understanding of the combos.
It also seems to not work with Serial.read()
Example code below.
When you say it doesn't work - what do you mean isn't working - what happens when you run it (and equally - what are you expecting that isn't happening?) -- also, as a quick aside, make sure that you're using the right baud rate for the serial port (the number in Serial.begin() should match the number in the drop down in Arduino's serial number)