PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

396 lines
8.3KB

  1. #######################################
  2. # Syntax Coloring Map For FastLED
  3. #######################################
  4. #######################################
  5. # Datatypes (KEYWORD1)
  6. #######################################
  7. CFastLED KEYWORD1
  8. CHSV KEYWORD1
  9. CRGB KEYWORD1
  10. CRGBArray KEYWORD1
  11. LEDS KEYWORD1
  12. FastLED KEYWORD1
  13. FastPin KEYWORD1
  14. FastSPI KEYWORD1
  15. FastSPI_LED2 KEYWORD1
  16. CRGBPalette16 KEYWORD1
  17. CRGBPalette256 KEYWORD1
  18. CHSVPalette16 KEYWORD1
  19. CHSVPalette256 KEYWORD1
  20. CHSVPalette16 KEYWORD1
  21. CHSVPalette256 KEYWORD1
  22. CRGBPalette16 KEYWORD1
  23. CRGBPalette256 KEYWORD1
  24. #######################################
  25. # Methods and Functions (KEYWORD2)
  26. #######################################
  27. # FastLED methods
  28. addLeds KEYWORD2
  29. setBrightness KEYWORD2
  30. getBrightness KEYWORD2
  31. show KEYWORD2
  32. clear KEYWORD2
  33. clearData KEYWORD2
  34. showColor KEYWORD2
  35. setTemperature KEYWORD2
  36. setCorrection KEYWORD2
  37. setDither KEYWORD2
  38. setMaxPowerInMilliWatts KEYWORD2
  39. setMaxPowerInVoltsAndMilliamps KEYWORD2
  40. setMaxRefreshRate KEYWORD2
  41. countFPS KEYWORD2
  42. getFPS KEYWORD2
  43. # Noise methods
  44. inoise16_raw KEYWORD2
  45. inoise8_raw KEYWORD2
  46. inoise16 KEYWORD2
  47. inoise8 KEYWORD2
  48. fill_2dnoise16 KEYWORD2
  49. fill_2dnoise8 KEYWORD2
  50. fill_noise16 KEYWORD2
  51. fill_noise8 KEYWORD2
  52. fill_raw_2dnoise16 KEYWORD2
  53. fill_raw_2dnoise16into8 KEYWORD2
  54. fill_raw_2dnoise8 KEYWORD2
  55. fill_raw_noise16into8 KEYWORD2
  56. fill_raw_noise8 KEYWORD2
  57. # Lib8tion methods
  58. qadd8 KEYWORD2
  59. qadd7 KEYWORD2
  60. qsub8 KEYWORD2
  61. add8 KEYWORD2
  62. sub8 KEYWORD2
  63. scale8 KEYWORD2
  64. scale8_video KEYWORD2
  65. cleanup_R1 KEYWORD2
  66. nscale8x3 KEYWORD2
  67. nscale8x3_video KEYWORD2
  68. nscale8x2 KEYWORD2
  69. nscale8x2_video KEYWORD2
  70. scale16by8 KEYWORD2
  71. scale16by8 KEYWORD2
  72. scale16 KEYWORD2
  73. mul8 KEYWORD2
  74. qmul8 KEYWORD2
  75. abs8 KEYWORD2
  76. dim8_raw KEYWORD2
  77. dim8_video KEYWORD2
  78. dim8_lin KEYWORD2
  79. brighten8_raw KEYWORD2
  80. brighten8_video KEYWORD2
  81. brighten8_lin KEYWORD2
  82. random8 KEYWORD2
  83. random16 KEYWORD2
  84. random8 KEYWORD2
  85. random8 KEYWORD2
  86. random16 KEYWORD2
  87. random16 KEYWORD2
  88. random16_set_seed KEYWORD2
  89. random16_get_seed KEYWORD2
  90. random16_add_entropy KEYWORD2
  91. sin16_avr KEYWORD2
  92. sin16 KEYWORD2
  93. cos16 KEYWORD2
  94. sin8 KEYWORD2
  95. cos8 KEYWORD2
  96. lerp8by8 KEYWORD2
  97. lerp16by16 KEYWORD2
  98. lerp16by8 KEYWORD2
  99. lerp15by8 KEYWORD2
  100. lerp15by16 KEYWORD2
  101. map8 KEYWORD2
  102. ease8InOutQuad KEYWORD2
  103. ease8InOutCubic KEYWORD2
  104. ease8InOutApprox KEYWORD2
  105. ease8InOutApprox KEYWORD2
  106. triwave8 KEYWORD2
  107. quadwave8 KEYWORD2
  108. cubicwave8 KEYWORD2
  109. sqrt16 KEYWORD2
  110. blend8 KEYWORD2
  111. # Color util methods
  112. blend KEYWORD2
  113. nblend KEYWORD2
  114. ColorFromPalette KEYWORD2
  115. HeatColor KEYWORD2
  116. UpscalePalette KEYWORD2
  117. blend KEYWORD2
  118. fadeLightBy KEYWORD2
  119. fadeToBlackBy KEYWORD2
  120. fade_raw KEYWORD2
  121. fade_video KEYWORD2
  122. fill_gradient KEYWORD2
  123. fill_gradient_RGB KEYWORD2
  124. fill_palette KEYWORD2
  125. fill_rainbow KEYWORD2
  126. fill_solid KEYWORD2
  127. map_data_into_colors_through_palette KEYWORD2
  128. nblend KEYWORD2
  129. nscale8 KEYWORD2
  130. nscale8_video KEYWORD2
  131. # HSV methods
  132. hsv2grb_rainbow KEYWORD2
  133. hsv2rgb_spectrum KEYWORD2
  134. hsv2rgb_raw KEYWORD2
  135. fill_solid KEYWORD2
  136. fill_rainbow KEYWORD2
  137. # Colors
  138. CRGB::AliceBlue KEYWORD2
  139. CRGB::Amethyst KEYWORD2
  140. CRGB::AntiqueWhite KEYWORD2
  141. CRGB::Aqua KEYWORD2
  142. CRGB::Aquamarine KEYWORD2
  143. CRGB::Azure KEYWORD2
  144. CRGB::Beige KEYWORD2
  145. CRGB::Bisque KEYWORD2
  146. CRGB::Black KEYWORD2
  147. CRGB::BlanchedAlmond KEYWORD2
  148. CRGB::Blue KEYWORD2
  149. CRGB::BlueViolet KEYWORD2
  150. CRGB::Brown KEYWORD2
  151. CRGB::BurlyWood KEYWORD2
  152. CRGB::CadetBlue KEYWORD2
  153. CRGB::Chartreuse KEYWORD2
  154. CRGB::Chocolate KEYWORD2
  155. CRGB::Coral KEYWORD2
  156. CRGB::CornflowerBlue KEYWORD2
  157. CRGB::Cornsilk KEYWORD2
  158. CRGB::Crimson KEYWORD2
  159. CRGB::Cyan KEYWORD2
  160. CRGB::DarkBlue KEYWORD2
  161. CRGB::DarkCyan KEYWORD2
  162. CRGB::DarkGoldenrod KEYWORD2
  163. CRGB::DarkGray KEYWORD2
  164. CRGB::DarkGreen KEYWORD2
  165. CRGB::DarkKhaki KEYWORD2
  166. CRGB::DarkMagenta KEYWORD2
  167. CRGB::DarkOliveGreen KEYWORD2
  168. CRGB::DarkOrange KEYWORD2
  169. CRGB::DarkOrchid KEYWORD2
  170. CRGB::DarkRed KEYWORD2
  171. CRGB::DarkSalmon KEYWORD2
  172. CRGB::DarkSeaGreen KEYWORD2
  173. CRGB::DarkSlateBlue KEYWORD2
  174. CRGB::DarkSlateGray KEYWORD2
  175. CRGB::DarkTurquoise KEYWORD2
  176. CRGB::DarkViolet KEYWORD2
  177. CRGB::DeepPink KEYWORD2
  178. CRGB::DeepSkyBlue KEYWORD2
  179. CRGB::DimGray KEYWORD2
  180. CRGB::DodgerBlue KEYWORD2
  181. CRGB::FireBrick KEYWORD2
  182. CRGB::FloralWhite KEYWORD2
  183. CRGB::ForestGreen KEYWORD2
  184. CRGB::Fuchsia KEYWORD2
  185. CRGB::Gainsboro KEYWORD2
  186. CRGB::GhostWhite KEYWORD2
  187. CRGB::Gold KEYWORD2
  188. CRGB::Goldenrod KEYWORD2
  189. CRGB::Gray KEYWORD2
  190. CRGB::Green KEYWORD2
  191. CRGB::GreenYellow KEYWORD2
  192. CRGB::Honeydew KEYWORD2
  193. CRGB::HotPink KEYWORD2
  194. CRGB::IndianRed KEYWORD2
  195. CRGB::Indigo KEYWORD2
  196. CRGB::Ivory KEYWORD2
  197. CRGB::Khaki KEYWORD2
  198. CRGB::Lavender KEYWORD2
  199. CRGB::LavenderBlush KEYWORD2
  200. CRGB::LawnGreen KEYWORD2
  201. CRGB::LemonChiffon KEYWORD2
  202. CRGB::LightBlue KEYWORD2
  203. CRGB::LightCoral KEYWORD2
  204. CRGB::LightCyan KEYWORD2
  205. CRGB::LightGoldenrodYellow KEYWORD2
  206. CRGB::LightGreen KEYWORD2
  207. CRGB::LightGrey KEYWORD2
  208. CRGB::LightPink KEYWORD2
  209. CRGB::LightSalmon KEYWORD2
  210. CRGB::LightSeaGreen KEYWORD2
  211. CRGB::LightSkyBlue KEYWORD2
  212. CRGB::LightSlateGray KEYWORD2
  213. CRGB::LightSteelBlue KEYWORD2
  214. CRGB::LightYellow KEYWORD2
  215. CRGB::Lime KEYWORD2
  216. CRGB::LimeGreen KEYWORD2
  217. CRGB::Linen KEYWORD2
  218. CRGB::Magenta KEYWORD2
  219. CRGB::Maroon KEYWORD2
  220. CRGB::MediumAquamarine KEYWORD2
  221. CRGB::MediumBlue KEYWORD2
  222. CRGB::MediumOrchid KEYWORD2
  223. CRGB::MediumPurple KEYWORD2
  224. CRGB::MediumSeaGreen KEYWORD2
  225. CRGB::MediumSlateBlue KEYWORD2
  226. CRGB::MediumSpringGreen KEYWORD2
  227. CRGB::MediumTurquoise KEYWORD2
  228. CRGB::MediumVioletRed KEYWORD2
  229. CRGB::MidnightBlue KEYWORD2
  230. CRGB::MintCream KEYWORD2
  231. CRGB::MistyRose KEYWORD2
  232. CRGB::Moccasin KEYWORD2
  233. CRGB::NavajoWhite KEYWORD2
  234. CRGB::Navy KEYWORD2
  235. CRGB::OldLace KEYWORD2
  236. CRGB::Olive KEYWORD2
  237. CRGB::OliveDrab KEYWORD2
  238. CRGB::Orange KEYWORD2
  239. CRGB::OrangeRed KEYWORD2
  240. CRGB::Orchid KEYWORD2
  241. CRGB::PaleGoldenrod KEYWORD2
  242. CRGB::PaleGreen KEYWORD2
  243. CRGB::PaleTurquoise KEYWORD2
  244. CRGB::PaleVioletRed KEYWORD2
  245. CRGB::PapayaWhip KEYWORD2
  246. CRGB::PeachPuff KEYWORD2
  247. CRGB::Peru KEYWORD2
  248. CRGB::Pink KEYWORD2
  249. CRGB::Plaid KEYWORD2
  250. CRGB::Plum KEYWORD2
  251. CRGB::PowderBlue KEYWORD2
  252. CRGB::Purple KEYWORD2
  253. CRGB::Red KEYWORD2
  254. CRGB::RosyBrown KEYWORD2
  255. CRGB::RoyalBlue KEYWORD2
  256. CRGB::SaddleBrown KEYWORD2
  257. CRGB::Salmon KEYWORD2
  258. CRGB::SandyBrown KEYWORD2
  259. CRGB::SeaGreen KEYWORD2
  260. CRGB::Seashell KEYWORD2
  261. CRGB::Sienna KEYWORD2
  262. CRGB::Silver KEYWORD2
  263. CRGB::SkyBlue KEYWORD2
  264. CRGB::SlateBlue KEYWORD2
  265. CRGB::SlateGray KEYWORD2
  266. CRGB::Snow KEYWORD2
  267. CRGB::SpringGreen KEYWORD2
  268. CRGB::SteelBlue KEYWORD2
  269. CRGB::Tan KEYWORD2
  270. CRGB::Teal KEYWORD2
  271. CRGB::Thistle KEYWORD2
  272. CRGB::Tomato KEYWORD2
  273. CRGB::Turquoise KEYWORD2
  274. CRGB::Violet KEYWORD2
  275. CRGB::Wheat KEYWORD2
  276. CRGB::White KEYWORD2
  277. CRGB::WhiteSmoke KEYWORD2
  278. CRGB::Yellow KEYWORD2
  279. CRGB::YellowGreen KEYWORD2
  280. #######################################
  281. # Constants (LITERAL1)
  282. #######################################
  283. # Chipsets
  284. APA102 LITERAL1
  285. APA104 LITERAL1
  286. APA106 LITERAL1
  287. DMXSERIAL LITERAL1
  288. DMXSIMPLE LITERAL1
  289. DOTSTAR LITERAL1
  290. GE8822 LITERAL1
  291. GS1903 LITERAL1
  292. GW6205 LITERAL1
  293. GW6205B LITERAL1
  294. GW6205_400 LITERAL1
  295. LPD1886 LITERAL1
  296. LPD1886_8BIT LITERAL1
  297. LPD6803 LITERAL1
  298. LPD8806 LITERAL1
  299. NEOPIXEL LITERAL1
  300. OCTOWS2811 LITERAL1
  301. OCTOWS2811_400 LITERAL1
  302. OCTOWS2813 LITERAL1
  303. P9813 LITERAL1
  304. PIXIE LITERAL1
  305. PL9823 LITERAL1
  306. SK6812 LITERAL1
  307. SK6822 LITERAL1
  308. SK9822 LITERAL1
  309. SM16703 LITERAL1
  310. SM16716 LITERAL1
  311. SMART_MATRIX LITERAL1
  312. TM1803 LITERAL1
  313. TM1804 LITERAL1
  314. TM1809 LITERAL1
  315. TM1812 LITERAL1
  316. TM1829 LITERAL1
  317. UCS1903 LITERAL1
  318. UCS1903B LITERAL1
  319. UCS1904 LITERAL1
  320. UCS2903 LITERAL1
  321. WS2801 LITERAL1
  322. WS2803 LITERAL1
  323. WS2811 LITERAL1
  324. WS2811_400 LITERAL1
  325. WS2812 LITERAL1
  326. WS2812B LITERAL1
  327. WS2812SERIAL LITERAL1
  328. WS2813 LITERAL1
  329. WS2852 LITERAL1
  330. # RGB orderings
  331. RGB LITERAL1
  332. RBG LITERAL1
  333. GRB LITERAL1
  334. GBR LITERAL1
  335. BRG LITERAL1
  336. BGR LITERAL1
  337. # hue literals
  338. HUE_RED LITERAL1
  339. HUE_ORANGE LITERAL1
  340. HUE_YELLOW LITERAL1
  341. HUE_GREEN LITERAL1
  342. HUE_AQUA LITERAL1
  343. HUE_BLUE LITERAL1
  344. HUE_PURPLE LITERAL1
  345. HUE_PINK LITERAL1
  346. # Color correction values
  347. TypicalSMD5050 LITERAL1
  348. TypicalLEDStrip LITERAL1
  349. Typical8mmPixel LITERAL1
  350. TypicalPixelString LITERAL1
  351. UncorrectedColor LITERAL1
  352. Candle LITERAL1
  353. Tungsten40W LITERAL1
  354. Tungsten100W LITERAL1
  355. Halogen LITERAL1
  356. CarbonArc LITERAL1
  357. HighNoonSun LITERAL1
  358. DirectSunlight LITERAL1
  359. OvercastSky LITERAL1
  360. ClearBlueSky LITERAL1
  361. WarmFluorescent LITERAL1
  362. StandardFluorescent LITERAL1
  363. CoolWhiteFluorescent LITERAL1
  364. FullSpectrumFluorescent LITERAL1
  365. GrowLightFluorescent LITERAL1
  366. BlackLightFluorescent LITERAL1
  367. MercuryVapor LITERAL1
  368. SodiumVapor LITERAL1
  369. MetalHalide LITERAL1
  370. HighPressureSodium LITERAL1
  371. UncorrectedTemperature LITERAL1
  372. # Color util literals
  373. FORWARD_HUES LITERAL1
  374. BACKWARD_HUES LITERAL1
  375. SHORTEST_HUES LITERAL1
  376. LONGEST_HUES LITERAL1
  377. LINEARBLEND LITERAL1
  378. NOBLEND LITERAL1