Advertisement
Guest User

Untitled

a guest
Nov 10th, 2021
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.95 KB | None | 0 0
  1. #include <Arduino.h>
  2. #include <M5StickCPlus.h>
  3. #include <FastLED.h>
  4.  
  5. // Colour Palette Setup
  6.  
  7. #define C9_Red    0xB80400
  8. #define C9_Orange 0x995900
  9. #define C9_Green  0x046002
  10. #define C9_Blue   0x070758
  11. #define C9_White  0xCDB85B
  12. const CRGBPalette16 RetroC9_p =
  13. {  C9_Red,    C9_Orange, C9_Green,    C9_Blue,
  14.    C9_White, C9_Red,    C9_Orange, C9_Green,
  15.    C9_Blue,  C9_White,  C9_Red,  C9_Orange,
  16.    C9_Green,   C9_Blue,   C9_White,
  17.    C9_Green
  18. };
  19.  
  20. #define Test_1 0xF1C40F
  21. #define Test_2 0xAF601A
  22. #define Test_3 0xE59866
  23. #define Test_4 0xEC7063
  24. const CRGBPalette16 Test_p =
  25. { Test_1,Test_1,Test_1,Test_1,
  26. Test_2,Test_2,Test_2,Test_2,
  27. Test_3,Test_3,Test_3,Test_3,
  28. Test_4,Test_4,Test_4,Test_4};
  29.  
  30. const CRGBPalette16 RedWhiteBlue_p =
  31. {   CRGB::Gray, CRGB::Blue, CRGB::Black, CRGB::Red,
  32.     CRGB::Gray, CRGB::Blue, CRGB::Black, CRGB::Red,
  33.     CRGB::Red,  CRGB::Gray, CRGB::Gray,  CRGB::Blue,
  34.     CRGB::Blue, CRGB::Black,CRGB::Black, CRGB::Red}
  35.  
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement